public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andrzej Pietrasiewicz <andrzej.p@collabora.com>,
	linux-usb@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Daniel Scally <dan.scally@ideasonboard.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Michael Grzeschik <m.grzeschik@pengutronix.de>,
	Andrzej Pietrasiewicz <andrzej.p@collabora.com>,
	kernel@collabora.com
Subject: Re: [PATCH v2] usb: gadget: webcam: Make g_webcam loadable again
Date: Sat, 9 Dec 2023 07:56:08 +0800	[thread overview]
Message-ID: <202312090717.dUYTE5cM-lkp@intel.com> (raw)
In-Reply-To: <20231208131342.65671-1-andrzej.p@collabora.com>

Hi Andrzej,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 33cc938e65a98f1d29d0a18403dbbee050dcad9a]

url:    https://github.com/intel-lab-lkp/linux/commits/Andrzej-Pietrasiewicz/usb-gadget-webcam-Make-g_webcam-loadable-again/20231208-211513
base:   33cc938e65a98f1d29d0a18403dbbee050dcad9a
patch link:    https://lore.kernel.org/r/20231208131342.65671-1-andrzej.p%40collabora.com
patch subject: [PATCH v2] usb: gadget: webcam: Make g_webcam loadable again
config: i386-buildonly-randconfig-002-20231209 (https://download.01.org/0day-ci/archive/20231209/202312090717.dUYTE5cM-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231209/202312090717.dUYTE5cM-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312090717.dUYTE5cM-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/usb/gadget/legacy/webcam.c:368:32: warning: 'uvcg_frame_mjpeg_720p' defined but not used [-Wunused-const-variable=]
     368 | static const struct uvcg_frame uvcg_frame_mjpeg_720p = {
         |                                ^~~~~~~~~~~~~~~~~~~~~


vim +/uvcg_frame_mjpeg_720p +368 drivers/usb/gadget/legacy/webcam.c

   367	
 > 368	static const struct uvcg_frame uvcg_frame_mjpeg_720p = {
   369		.fmt_type		= UVCG_MJPEG,
   370		.frame = {
   371			.b_length			= uvc_frame_mjpg_720p.bLength,
   372			.b_descriptor_type		= uvc_frame_mjpg_720p.bDescriptorType,
   373			.b_descriptor_subtype		= uvc_frame_mjpg_720p.bDescriptorSubType,
   374			.b_frame_index			= uvc_frame_mjpg_720p.bFrameIndex,
   375			.bm_capabilities		= uvc_frame_mjpg_720p.bmCapabilities,
   376			.w_width			= uvc_frame_mjpg_720p.wWidth,
   377			.w_height			= uvc_frame_mjpg_720p.wHeight,
   378			.dw_min_bit_rate		= uvc_frame_mjpg_720p.dwMinBitRate,
   379			.dw_max_bit_rate		= uvc_frame_mjpg_720p.dwMaxBitRate,
   380			.dw_max_video_frame_buffer_size	= uvc_frame_mjpg_720p.dwMaxVideoFrameBufferSize,
   381			.dw_default_frame_interval	= uvc_frame_mjpg_720p.dwDefaultFrameInterval,
   382			.b_frame_interval_type		= uvc_frame_mjpg_720p.bFrameIntervalType,
   383		},
   384		.dw_frame_interval	= (u32 *)uvc_frame_mjpg_720p.dwFrameInterval,
   385	};
   386	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2023-12-08 23:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-08 12:52 [PATCH] usb: gadget: webcam: Make g_webcam loadable again Andrzej Pietrasiewicz
2023-12-08 13:13 ` [PATCH v2] " Andrzej Pietrasiewicz
2023-12-08 23:56   ` kernel test robot [this message]
2023-12-09 10:20   ` kernel test robot
2023-12-09 10:41   ` kernel test robot
2023-12-09 22:17   ` kernel test robot
2023-12-11 12:38   ` [PATCH v3] " Andrzej Pietrasiewicz
2023-12-11 20:47     ` kernel test robot
2023-12-11 21:53     ` kernel test robot
2023-12-12 17:01       ` Andrzej Pietrasiewicz
2023-12-12 18:22         ` Laurent Pinchart
2023-12-12 19:05     ` [PATCH v4] " Andrzej Pietrasiewicz
2023-12-14  6:40       ` Andrzej Pietrasiewicz
2023-12-15 12:47       ` Greg Kroah-Hartman
2023-12-15 13:09         ` Andrzej Pietrasiewicz
2023-12-15 13:16       ` [PATCH v5] " Andrzej Pietrasiewicz
2023-12-08 13:22 ` [PATCH] " Laurent Pinchart

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=202312090717.dUYTE5cM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrzej.p@collabora.com \
    --cc=dan.scally@ideasonboard.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel@collabora.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.grzeschik@pengutronix.de \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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