All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Maxime Ripard <maxime@cerno.tech>,
	Daniel Vetter <daniel.vetter@intel.com>,
	David Airlie <airlied@linux.ie>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Thomas Zimmermann <tzimmermann@suse.de>
Cc: kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v4 03/69] drm/encoder: Introduce drmm_encoder_init
Date: Fri, 8 Jul 2022 22:48:32 +0800	[thread overview]
Message-ID: <202207082243.30UtKZMS-lkp@intel.com> (raw)
In-Reply-To: <20220708095707.257937-4-maxime@cerno.tech>

Hi Maxime,

I love your patch! Perhaps something to improve:

[auto build test WARNING on drm-tip/drm-tip]
[also build test WARNING on linus/master v5.19-rc5 next-20220708]
[cannot apply to drm-misc/drm-misc-next drm-intel/for-linux-next anholt/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Maxime-Ripard/drm-vc4-Fix-hotplug-for-vc4/20220708-181702
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: i386-defconfig (https://download.01.org/0day-ci/archive/20220708/202207082243.30UtKZMS-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/02fc9586cd9ab6a11b41230834118acd02445e31
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Maxime-Ripard/drm-vc4-Fix-hotplug-for-vc4/20220708-181702
        git checkout 02fc9586cd9ab6a11b41230834118acd02445e31
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/

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

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/drm_encoder.c: In function '__drmm_encoder_init':
>> drivers/gpu/drm/drm_encoder.c:228:9: warning: function '__drmm_encoder_init' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
     228 |         ret = __drm_encoder_init(dev, encoder, funcs, encoder_type, name, args);
         |         ^~~


vim +228 drivers/gpu/drm/drm_encoder.c

   215	
   216	static int __drmm_encoder_init(struct drm_device *dev,
   217				       struct drm_encoder *encoder,
   218				       const struct drm_encoder_funcs *funcs,
   219				       int encoder_type,
   220				       const char *name,
   221				       va_list args)
   222	{
   223		int ret;
   224	
   225		if (drm_WARN_ON(dev, funcs && funcs->destroy))
   226			return -EINVAL;
   227	
 > 228		ret = __drm_encoder_init(dev, encoder, funcs, encoder_type, name, args);
   229		if (ret)
   230			return ret;
   231	
   232		ret = drmm_add_action_or_reset(dev, drmm_encoder_alloc_release, encoder);
   233		if (ret)
   234			return ret;
   235	
   236		return 0;
   237	}
   238	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

  reply	other threads:[~2022-07-08 14:49 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08  9:55 [PATCH v4 00/69] drm/vc4: Fix hotplug for vc4 Maxime Ripard
2022-07-08  9:55 ` [PATCH v4 01/69] drm/mipi-dsi: Detach devices when removing the host Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 02/69] drm/crtc: Introduce drmm_crtc_init_with_planes Maxime Ripard
2022-07-08 13:55   ` kernel test robot
2022-07-08  9:56 ` [PATCH v4 03/69] drm/encoder: Introduce drmm_encoder_init Maxime Ripard
2022-07-08 14:48   ` kernel test robot [this message]
2022-07-08  9:56 ` [PATCH v4 04/69] drm/connector: Reorder headers Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 05/69] drm/connector: Mention the cleanup after drm_connector_init Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 06/69] drm/connector: Clarify when drm_connector_unregister is needed Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 07/69] drm/connector: Consolidate Connector Initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 08/69] drm/connector: Check for destroy implementation Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 09/69] drm/connector: Introduce drmm_connector_init Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 10/69] drm/bridge: panel: Introduce drmm_panel_bridge_add Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 11/69] drm/bridge: panel: Introduce drmm_of_get_bridge Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 12/69] drm/vc4: drv: Call component_unbind_all() Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 13/69] drm/vc4: drv: Use drm_dev_unplug Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 14/69] drm/vc4: crtc: Create vblank reporting function Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 15/69] drm/vc4: hvs: Protect device resources after removal Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 16/69] drm/vc4: hvs: Remove planes currently allocated before taking down Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 17/69] drm/vc4: plane: Take possible_crtcs as an argument Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 18/69] drm/vc4: crtc: Remove manual plane removal on error Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 19/69] drm/vc4: plane: Switch to drmm_universal_plane_alloc() Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 20/69] drm/vc4: crtc: Move debugfs_name to crtc_data Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 21/69] drm/vc4: crtc: Switch to drmm_kzalloc Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 22/69] drm/vc4: crtc: Switch to DRM-managed CRTC initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 23/69] drm/vc4: dpi: Remove vc4_dev dpi pointer Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 24/69] drm/vc4: dpi: Embed DRM structures into the private structure Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 25/69] drm/vc4: dpi: Switch to drmm_kzalloc Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 26/69] drm/vc4: dpi: Return an error if we can't enable our clock Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 27/69] drm/vc4: dpi: Remove unnecessary drm_of_panel_bridge_remove call Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 28/69] drm/vc4: dpi: Add action to disable the clock Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 29/69] drm/vc4: dpi: Switch to DRM-managed encoder initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 30/69] drm/vc4: dpi: Switch to drmm_of_get_bridge Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 31/69] drm/vc4: dpi: Protect device resources Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 32/69] drm/vc4: dsi: Embed DRM structures into the private structure Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 33/69] drm/vc4: dsi: Switch to DRM-managed encoder initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 34/69] drm/vc4: dsi: Switch to drmm_of_get_bridge Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 35/69] drm/vc4: dsi: Fix the driver structure lifetime Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 36/69] drm/vc4: dsi: Switch to devm_pm_runtime_enable Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 37/69] drm/vc4: hdmi: Switch to drmm_kzalloc Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 38/69] drm/vc4: hdmi: Remove call to drm_connector_unregister() Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 39/69] drm/vc4: hdmi: Switch to DRM-managed encoder initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 40/69] drm/vc4: hdmi: Switch to DRM-managed connector initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 41/69] drm/vc4: hdmi: Switch to device-managed ALSA initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 42/69] drm/vc4: hdmi: Switch to device-managed CEC initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 43/69] drm/vc4: hdmi: Use a device-managed action for DDC Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 44/69] drm/vc4: hdmi: Switch to DRM-managed kfree to build regsets Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 45/69] drm/vc4: hdmi: Use devm to register hotplug interrupts Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 46/69] drm/vc4: hdmi: Move audio structure offset checks Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 47/69] drm/vc4: hdmi: Protect device resources after removal Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 48/69] drm/vc4: hdmi: Switch to devm_pm_runtime_enable Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 49/69] drm/vc4: txp: Remove vc4_dev txp pointer Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 50/69] drm/vc4: txp: Remove duplicate regset Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 51/69] drm/vc4: txp: Switch to drmm_kzalloc Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 52/69] drm/vc4: txp: Remove call to drm_connector_unregister() Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 53/69] drm/vc4: txp: Protect device resources Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 54/69] drm/vc4: vec: Remove vc4_dev vec pointer Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 55/69] drm/vc4: vec: Embed DRM structures into the private structure Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 56/69] drm/vc4: vec: Switch to drmm_kzalloc Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 57/69] drm/vc4: vec: Remove call to drm_connector_unregister() Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 58/69] drm/vc4: vec: Switch to DRM-managed encoder initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 59/69] drm/vc4: vec: Switch to DRM-managed connector initialization Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 60/69] drm/vc4: vec: Protect device resources after removal Maxime Ripard
2022-07-08  9:56 ` [PATCH v4 61/69] drm/vc4: vec: Switch to devm_pm_runtime_enable Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 62/69] drm/vc4: debugfs: Protect device resources Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 63/69] drm/vc4: debugfs: Return an error on failure Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 64/69] drm/vc4: debugfs: Simplify debugfs registration Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 65/69] drm/vc4: Switch to drmm_mutex_init Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 66/69] drm/vc4: perfmon: Add missing mutex_destroy Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 67/69] drm/vc4: v3d: Stop disabling interrupts Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 68/69] drm/vc4: v3d: Rework the runtime_pm setup Maxime Ripard
2022-07-08  9:57 ` [PATCH v4 69/69] drm/vc4: v3d: Switch to devm_pm_runtime_enable Maxime Ripard

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=202207082243.30UtKZMS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@lists.01.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=maxime@cerno.tech \
    --cc=tzimmermann@suse.de \
    /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 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.