[tip:tmp.tmp2 302/364] drivers/video/backlight/rave-sp-backlight.c: linux/backlight.h is included more than once.

2 messages, 1 author, 2021-06-15 · open the first message on its own page

[tip:tmp.tmp2 302/364] drivers/video/backlight/rave-sp-backlight.c: linux/backlight.h is included more than once.

From: kernel test robot <hidden>
Date: 2021-06-15 03:17:23

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.tmp2
head:   adcceb5eb7aee38e4a9c15bdf599655f0e1b1324
commit: 3fb8658426ac271948eb757e1c5a5554afdc5cf8 [302/364] sched/headers, fb: Simplify <linux/fb.h> dependencies
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>


includecheck warnings: (new ones prefixed by >>)
quoted
drivers/video/backlight/rave-sp-backlight.c: linux/backlight.h is included more than once.
--
quoted
drivers/video/backlight/lm3639_bl.c: linux/backlight.h is included more than once.
--
quoted
drivers/video/backlight/kb3886_bl.c: linux/backlight.h is included more than once.
--
quoted
drivers/video/backlight/da9052_bl.c: linux/backlight.h is included more than once.
--
quoted
drivers/video/backlight/cr_bllcd.c: linux/backlight.h is included more than once.
Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[RFC PATCH tip] sched/headers, fb: fix duplicated inclusion

From: kernel test robot <hidden>
Date: 2021-06-15 03:13:30

drivers/video/backlight/rave-sp-backlight.c: linux/backlight.h is included more than once.
drivers/video/backlight/lm3639_bl.c: linux/backlight.h is included more than once.
drivers/video/backlight/kb3886_bl.c: linux/backlight.h is included more than once.
drivers/video/backlight/da9052_bl.c: linux/backlight.h is included more than once.
drivers/video/backlight/cr_bllcd.c: linux/backlight.h is included more than once.

Generated by: scripts/checkincludes.pl

Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>
---
 cr_bllcd.c          |    1 -
 da9052_bl.c         |    1 -
 kb3886_bl.c         |    1 -
 lm3639_bl.c         |    1 -
 rave-sp-backlight.c |    1 -
 5 files changed, 5 deletions(-)
diff --git a/drivers/video/backlight/cr_bllcd.c b/drivers/video/backlight/cr_bllcd.c
index aa94e1dfbc2c4..570105c7c5f22 100644
--- a/drivers/video/backlight/cr_bllcd.c
+++ b/drivers/video/backlight/cr_bllcd.c
@@ -21,7 +21,6 @@
 #include <linux/platform_device.h>
 #include <linux/mutex.h>
 #include <linux/fb.h>
-#include <linux/backlight.h>
 #include <linux/lcd.h>
 #include <linux/pci.h>
 #include <linux/slab.h>
diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c
index d805c57e8f9ac..3bdec323e98e7 100644
--- a/drivers/video/backlight/da9052_bl.c
+++ b/drivers/video/backlight/da9052_bl.c
@@ -7,7 +7,6 @@
  * Author: David Dajun Chen <dchen@diasemi.com>
  */
 
-#include <linux/backlight.h>
 #include <linux/delay.h>
 #include <linux/fb.h>
 #include <linux/module.h>
diff --git a/drivers/video/backlight/kb3886_bl.c b/drivers/video/backlight/kb3886_bl.c
index 55800c904338c..3088455c03603 100644
--- a/drivers/video/backlight/kb3886_bl.c
+++ b/drivers/video/backlight/kb3886_bl.c
@@ -13,7 +13,6 @@
 #include <linux/platform_device.h>
 #include <linux/mutex.h>
 #include <linux/fb.h>
-#include <linux/backlight.h>
 #include <linux/delay.h>
 #include <linux/dmi.h>
 #include <linux/backlight.h>
diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c
index df26b7768eb9c..30731a8bb063e 100644
--- a/drivers/video/backlight/lm3639_bl.c
+++ b/drivers/video/backlight/lm3639_bl.c
@@ -7,7 +7,6 @@
 #include <linux/slab.h>
 #include <linux/i2c.h>
 #include <linux/leds.h>
-#include <linux/backlight.h>
 #include <linux/err.h>
 #include <linux/delay.h>
 #include <linux/uaccess.h>
diff --git a/drivers/video/backlight/rave-sp-backlight.c b/drivers/video/backlight/rave-sp-backlight.c
index 71419c384293c..2dd46c32f6150 100644
--- a/drivers/video/backlight/rave-sp-backlight.c
+++ b/drivers/video/backlight/rave-sp-backlight.c
@@ -7,7 +7,6 @@
  *
  */
 
-#include <linux/backlight.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/mfd/rave-sp.h>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help