All of lore.kernel.org
 help / color / mirror / Atom feed
* [rcar:gmsl/ap0231 25/31] drivers/media/i2c/vision.c:302:6: sparse: sparse: symbol 'print_max9286_regs' was not declared. Should it be static?
@ 2020-01-27  7:42 kbuild test robot
  2020-01-27  7:42 ` [RFC PATCH rcar] print_max9286_regs() can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-01-27  7:42 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git gmsl/ap0231
head:   f9d08a86f336f87ba7f5639863ca866b693b3dc3
commit: 34ac490303f874e297dbf6be316660b22dc9eff7 [25/31] Initial support for Vision Mezzanine
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-153-g47b6dfef-dirty
        git checkout 34ac490303f874e297dbf6be316660b22dc9eff7
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/media/i2c/vision.c:302:6: sparse: sparse: symbol 'print_max9286_regs' was not declared. Should it be static?
>> drivers/media/i2c/vision.c:310:6: sparse: sparse: symbol 'print_max96705_regs' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH rcar] print_max9286_regs() can be static
  2020-01-27  7:42 [rcar:gmsl/ap0231 25/31] drivers/media/i2c/vision.c:302:6: sparse: sparse: symbol 'print_max9286_regs' was not declared. Should it be static? kbuild test robot
@ 2020-01-27  7:42 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-01-27  7:42 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 905 bytes --]


Fixes: 34ac490303f8 ("Initial support for Vision Mezzanine")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 vision.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/i2c/vision.c b/drivers/media/i2c/vision.c
index 6bfaa18122b07..2e3b5cf626045 100644
--- a/drivers/media/i2c/vision.c
+++ b/drivers/media/i2c/vision.c
@@ -299,7 +299,7 @@ static int max9286_check_video_links(struct vision_device *dev)
 	return 0;
 }
 
-void print_max9286_regs(struct vision_device *dev)
+static void print_max9286_regs(struct vision_device *dev)
 {
        int i;
 
@@ -307,7 +307,7 @@ void print_max9286_regs(struct vision_device *dev)
                pr_info("MAX9286: 0x%x: 0x%x", i, max9286_read(dev, i));
 }
 
-void print_max96705_regs(struct vision_device *dev)
+static void print_max96705_regs(struct vision_device *dev)
 {
        int i;
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-27  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27  7:42 [rcar:gmsl/ap0231 25/31] drivers/media/i2c/vision.c:302:6: sparse: sparse: symbol 'print_max9286_regs' was not declared. Should it be static? kbuild test robot
2020-01-27  7:42 ` [RFC PATCH rcar] print_max9286_regs() can be static kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.