Re: [PATCH v2 3/3] [media] st-delta: add mpeg2 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hugues,

[auto build test WARNING on linuxtv-media/master]
[cannot apply to v4.10-rc7 next-20170208]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Hugues-Fruchet/Add-support-for-MPEG-2-in-DELTA-video-decoder/20170209-000624
base:   git://linuxtv.org/media_tree.git master
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=parisc 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:320:0,
                    from include/linux/kernel.h:13,
                    from arch/parisc/include/asm/bug.h:4,
                    from include/linux/bug.h:4,
                    from include/linux/mmdebug.h:4,
                    from include/linux/gfp.h:4,
                    from include/linux/slab.h:14,
                    from drivers/media/platform/sti/delta/delta-mpeg2-dec.c:10:
   drivers/media/platform/sti/delta/delta-mpeg2-dec.c: In function 'delta_mpeg2_ipc_decode':
>> drivers/media/platform/sti/delta/delta-mpeg2-dec.c:899:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__kernel_suseconds_t {aka int}' [-Wformat=]
     dev_dbg(delta->dev, "%s  dec frame[%d] tref=%03lu type=%s pic=%s cnt=%03d %s\n",
                         ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/media/platform/sti/delta/delta-mpeg2-dec.c:899:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(delta->dev, "%s  dec frame[%d] tref=%03lu type=%s pic=%s cnt=%03d %s\n",
     ^~~~~~~
   drivers/media/platform/sti/delta/delta-mpeg2-dec.c: In function 'delta_mpeg2_get_frame':
   drivers/media/platform/sti/delta/delta-mpeg2-dec.c:1279:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__kernel_suseconds_t {aka int}' [-Wformat=]
      "%s  out frame[%d] tref=%03lu type=%s field=%s cnt=%03d %s\n",
      ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
   drivers/media/platform/sti/delta/delta-mpeg2-dec.c:1278:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(delta->dev,
     ^~~~~~~
   drivers/media/platform/sti/delta/delta-mpeg2-dec.c: In function 'delta_mpeg2_recycle':
   drivers/media/platform/sti/delta/delta-mpeg2-dec.c:1301:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__kernel_suseconds_t {aka int}' [-Wformat=]
      "%s  rec frame[%d] tref=%03lu %s\n",
      ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
   drivers/media/platform/sti/delta/delta-mpeg2-dec.c:1300:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(delta->dev,
     ^~~~~~~

vim +899 drivers/media/platform/sti/delta/delta-mpeg2-dec.c

   883	
   884		/* check firmware decoding status */
   885		if (delta_mpeg2_check_status(pctx, status)) {
   886			dev_err(delta->dev,
   887				"%s  dumping command %s\n", pctx->name,
   888				ipc_decode_param_str(params, ctx->str,
   889						     sizeof(ctx->str)));
   890		}
   891	
   892		mpeg2_frame->dts.tv_usec = pic_hdr->tsn;
   893		frame->state |= DELTA_FRAME_DEC;
   894		frame->flags = 0;
   895		to_v4l2_frame_type(params_pic->picture_coding_type,
   896				   &frame->flags);
   897		frame->field = to_v4l2_field_type(interlaced, top_field_first);
   898	
 > 899		dev_dbg(delta->dev, "%s  dec frame[%d] tref=%03lu type=%s pic=%s cnt=%03d %s\n",
   900			pctx->name,
   901			(to_frame(mpeg2_frame))->index,
   902			mpeg2_frame->dts.tv_usec,
   903			picture_coding_type_str(params_pic->picture_coding_type),
   904			picture_structure_str(picture_structure),
   905			pctx->decoded_frames,
   906			frame_state_str(frame->state, ctx->str, sizeof(ctx->str)));
   907	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux