All of lore.kernel.org
 help / color / mirror / Atom feed
* [arnd-playground:y2038-endgame 72/88] drivers/media/v4l2-core/v4l2-ioctl.c:824:2: note: in expansion of macro 'pr_cont'
@ 2019-11-07 20:58 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-07 20:58 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git y2038-endgame
head:   6f76dcc2f041801fc5ce6e418ef8912a24244436
commit: 20777753e067f61e8bc91f4404c11a41ddf9b08f [72/88] media: v4l2-core: fix VIDIOC_DQEVENT for time64 ABI
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout 20777753e067f61e8bc91f4404c11a41ddf9b08f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:7:0,
                    from include/linux/kernel.h:15,
                    from include/asm-generic/bug.h:19,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from drivers/media/v4l2-core/v4l2-ioctl.c:11:
   drivers/media/v4l2-core/v4l2-ioctl.c: In function 'v4l_print_event':
>> include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__kernel_time64_t {aka const long long int}' [-Wformat=]
    #define KERN_SOH "\001"  /* ASCII Start Of Header */
                     ^
   include/linux/kern_levels.h:24:19: note: in expansion of macro 'KERN_SOH'
    #define KERN_CONT KERN_SOH "c"
                      ^~~~~~~~
   include/linux/printk.h:318:9: note: in expansion of macro 'KERN_CONT'
     printk(KERN_CONT fmt, ##__VA_ARGS__)
            ^~~~~~~~~
>> drivers/media/v4l2-core/v4l2-ioctl.c:824:2: note: in expansion of macro 'pr_cont'
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
     ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:824:66: note: format string is defined here
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
                                                                   ~~^
                                                                   %llu
   In file included from include/linux/printk.h:7:0,
                    from include/linux/kernel.h:15,
                    from include/asm-generic/bug.h:19,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from drivers/media/v4l2-core/v4l2-ioctl.c:11:
>> include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'long long int' [-Wformat=]
    #define KERN_SOH "\001"  /* ASCII Start Of Header */
                     ^
   include/linux/kern_levels.h:24:19: note: in expansion of macro 'KERN_SOH'
    #define KERN_CONT KERN_SOH "c"
                      ^~~~~~~~
   include/linux/printk.h:318:9: note: in expansion of macro 'KERN_CONT'
     printk(KERN_CONT fmt, ##__VA_ARGS__)
            ^~~~~~~~~
>> drivers/media/v4l2-core/v4l2-ioctl.c:824:2: note: in expansion of macro 'pr_cont'
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
     ^~~~~~~
   drivers/media/v4l2-core/v4l2-ioctl.c:824:73: note: format string is defined here
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
                                                                       ~~~~~^
                                                                       %9.9llu
--
   In file included from include/linux/printk.h:7:0,
                    from include/linux/kernel.h:15,
                    from include/asm-generic/bug.h:19,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from drivers/media//v4l2-core/v4l2-ioctl.c:11:
   drivers/media//v4l2-core/v4l2-ioctl.c: In function 'v4l_print_event':
>> include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__kernel_time64_t {aka const long long int}' [-Wformat=]
    #define KERN_SOH "\001"  /* ASCII Start Of Header */
                     ^
   include/linux/kern_levels.h:24:19: note: in expansion of macro 'KERN_SOH'
    #define KERN_CONT KERN_SOH "c"
                      ^~~~~~~~
   include/linux/printk.h:318:9: note: in expansion of macro 'KERN_CONT'
     printk(KERN_CONT fmt, ##__VA_ARGS__)
            ^~~~~~~~~
   drivers/media//v4l2-core/v4l2-ioctl.c:824:2: note: in expansion of macro 'pr_cont'
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
     ^~~~~~~
   drivers/media//v4l2-core/v4l2-ioctl.c:824:66: note: format string is defined here
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
                                                                   ~~^
                                                                   %llu
   In file included from include/linux/printk.h:7:0,
                    from include/linux/kernel.h:15,
                    from include/asm-generic/bug.h:19,
                    from arch/x86/include/asm/bug.h:83,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/mm.h:9,
                    from drivers/media//v4l2-core/v4l2-ioctl.c:11:
>> include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'long long int' [-Wformat=]
    #define KERN_SOH "\001"  /* ASCII Start Of Header */
                     ^
   include/linux/kern_levels.h:24:19: note: in expansion of macro 'KERN_SOH'
    #define KERN_CONT KERN_SOH "c"
                      ^~~~~~~~
   include/linux/printk.h:318:9: note: in expansion of macro 'KERN_CONT'
     printk(KERN_CONT fmt, ##__VA_ARGS__)
            ^~~~~~~~~
   drivers/media//v4l2-core/v4l2-ioctl.c:824:2: note: in expansion of macro 'pr_cont'
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
     ^~~~~~~
   drivers/media//v4l2-core/v4l2-ioctl.c:824:73: note: format string is defined here
     pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
                                                                       ~~~~~^
                                                                       %9.9llu

vim +/pr_cont +824 drivers/media/v4l2-core/v4l2-ioctl.c

458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  818  
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  819  static void v4l_print_event(const void *arg, bool write_only)
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  820  {
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  821  	const struct v4l2_event *p = arg;
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  822  	const struct v4l2_event_ctrl *c;
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  823  
8720427c198b6d drivers/media/v4l2-core/v4l2-ioctl.c Mauro Carvalho Chehab 2016-10-18 @824  	pr_cont("type=0x%x, pending=%u, sequence=%u, id=%u, timestamp=%lu.%9.9lu\n",
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  825  			p->type, p->pending, p->sequence, p->id,
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  826  			p->timestamp.tv_sec, p->timestamp.tv_nsec);
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  827  	switch (p->type) {
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  828  	case V4L2_EVENT_VSYNC:
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  829  		printk(KERN_DEBUG "field=%s\n",
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  830  			prt_names(p->u.vsync.field, v4l2_field_names));
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  831  		break;
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  832  	case V4L2_EVENT_CTRL:
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  833  		c = &p->u.ctrl;
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  834  		printk(KERN_DEBUG "changes=0x%x, type=%u, ",
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  835  			c->changes, c->type);
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  836  		if (c->type == V4L2_CTRL_TYPE_INTEGER64)
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  837  			pr_cont("value64=%lld, ", c->value64);
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  838  		else
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  839  			pr_cont("value=%d, ", c->value);
8720427c198b6d drivers/media/v4l2-core/v4l2-ioctl.c Mauro Carvalho Chehab 2016-10-18  840  		pr_cont("flags=0x%x, minimum=%d, maximum=%d, step=%d, default_value=%d\n",
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  841  			c->flags, c->minimum, c->maximum,
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  842  			c->step, c->default_value);
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  843  		break;
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  844  	case V4L2_EVENT_FRAME_SYNC:
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  845  		pr_cont("frame_sequence=%u\n",
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  846  			p->u.frame_sync.frame_sequence);
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  847  		break;
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  848  	}
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  849  }
458aa4a6922bf4 drivers/media/video/v4l2-ioctl.c     Hans Verkuil          2012-06-09  850  

:::::: The code at line 824 was first introduced by commit
:::::: 8720427c198b6d36be26d5cd45a487bf7bb49478 [media] v4l2-core: don't break long lines

:::::: TO: Mauro Carvalho Chehab <mchehab@s-opensource.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@s-opensource.com>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 43771 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-07 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 20:58 [arnd-playground:y2038-endgame 72/88] drivers/media/v4l2-core/v4l2-ioctl.c:824:2: note: in expansion of macro 'pr_cont' 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.