public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Hugues Fruchet <hugues.fruchet@st.com>
Cc: kbuild-all@01.org, linux-media@vger.kernel.org,
	Hans Verkuil <hverkuil@xs4all.nl>,
	kernel@stlinux.com,
	Benjamin Gaignard <benjamin.gaignard@linaro.org>,
	Hugues Fruchet <hugues.fruchet@st.com>,
	Jean-Christophe Trotin <jean-christophe.trotin@st.com>
Subject: Re: [PATCH v2 3/3] [media] st-delta: add mpeg2 support
Date: Thu, 9 Feb 2017 05:56:28 +0800	[thread overview]
Message-ID: <201702090510.4UrATblL%fengguang.wu@intel.com> (raw)
In-Reply-To: <1486568240-7645-4-git-send-email-hugues.fruchet@st.com>

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

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 48523 bytes --]

      reply	other threads:[~2017-02-08 21:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 15:37 [PATCH v2 0/3] Add support for MPEG-2 in DELTA video decoder Hugues Fruchet
2017-02-08 15:37 ` [PATCH v2 1/3] [media] v4l: add parsed MPEG-2 support Hugues Fruchet
2017-02-08 15:37 ` [PATCH v2 2/3] [media] st-delta: add parsing metadata controls support Hugues Fruchet
2017-02-08 15:37 ` [PATCH v2 3/3] [media] st-delta: add mpeg2 support Hugues Fruchet
2017-02-08 21:56   ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201702090510.4UrATblL%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=benjamin.gaignard@linaro.org \
    --cc=hugues.fruchet@st.com \
    --cc=hverkuil@xs4all.nl \
    --cc=jean-christophe.trotin@st.com \
    --cc=kbuild-all@01.org \
    --cc=kernel@stlinux.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox