All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [intel-linux-intel-lts:5.4/yocto 42/1142] drivers/gpu/drm/kmb/kmb_plane.c:126:25: warning: no previous prototype for 'kmb_plane_duplicate_state'
Date: Thu, 10 Jun 2021 20:29:53 +0800	[thread overview]
Message-ID: <202106102044.AFAMclgc-lkp@intel.com> (raw)

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/yocto
head:   eeb611e5394c56d45c5cc8f7dc484c9f19e93143
commit: 767c8610f6fcd7b765189fc01eff0131aa6c19d5 [42/1142] drm/kmb: Add support for KeemBay Display
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel/linux-intel-lts/commit/767c8610f6fcd7b765189fc01eff0131aa6c19d5
        git remote add intel-linux-intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-linux-intel-lts 5.4/yocto
        git checkout 767c8610f6fcd7b765189fc01eff0131aa6c19d5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/kmb/kmb_plane.c:126:25: warning: no previous prototype for 'kmb_plane_duplicate_state' [-Wmissing-prototypes]
     126 | struct drm_plane_state *kmb_plane_duplicate_state(struct drm_plane *plane)
         |                         ^~~~~~~~~~~~~~~~~~~~~~~~~


vim +/kmb_plane_duplicate_state +126 drivers/gpu/drm/kmb/kmb_plane.c

   125	
 > 126	struct drm_plane_state *kmb_plane_duplicate_state(struct drm_plane *plane)
   127	{
   128		struct drm_plane_state *state;
   129		struct kmb_plane_state *kmb_state;
   130	
   131		kmb_state = kmemdup(plane->state, sizeof(*kmb_state), GFP_KERNEL);
   132	
   133		if (!kmb_state)
   134			return NULL;
   135	
   136		state = &kmb_state->base_plane_state;
   137		__drm_atomic_helper_plane_duplicate_state(plane, state);
   138	
   139		return state;
   140	}
   141	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

                 reply	other threads:[~2021-06-10 12:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202106102044.AFAMclgc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 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.