From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2969AC433EF for ; Wed, 4 May 2022 05:07:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A77506B0071; Wed, 4 May 2022 01:07:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A264F6B0073; Wed, 4 May 2022 01:07:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 915B46B0074; Wed, 4 May 2022 01:07:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 83C536B0071 for ; Wed, 4 May 2022 01:07:47 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 5AC7EA86 for ; Wed, 4 May 2022 05:07:47 +0000 (UTC) X-FDA: 79426878174.25.C4CE329 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf10.hostedemail.com (Postfix) with ESMTP id CD075C007F for ; Wed, 4 May 2022 05:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651640866; x=1683176866; h=date:from:to:cc:subject:message-id:mime-version; bh=hLtwunPkHgDFJNcOH1uUTtQ3wTBs/7gxxEfCkfq+ZyM=; b=QLu9ZCVkxESjY7DGod7lSH+EKX2IxtvRSyh1+yE0e48jZz9vK1dgiNZ8 DPfVlZZ+6MTgegZO5N2TEOHqtRISQ0TAG3a3of3pmXeXkaMXJc7saJUEe 5INSJZ5J0x0ROcZcgFgbr5bAtgi7uHDdVO9VvsQ2U4P8U6rG60a7grQDH 84dNkeISON5WQ5jsXo8ZHPtiFPmR3KBW9YDCtp1GU2yPHzc1seL0qN1Rt X0EuWr/AzHX0YS3OFdTIEQ3YPaCOAyMWYowsCT+72bxyupvcm817fywKH C2meMgLkmsibvceCjQ+4/06VILAkpbyndy29oNMNZ+Xnwc7Hk6HMTabqx Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10336"; a="249644763" X-IronPort-AV: E=Sophos;i="5.91,196,1647327600"; d="scan'208";a="249644763" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2022 22:07:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,196,1647327600"; d="scan'208";a="810967514" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 03 May 2022 22:07:42 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nm7Ek-000B5T-Ap; Wed, 04 May 2022 05:07:42 +0000 Date: Wed, 4 May 2022 13:07:30 +0800 From: kernel test robot To: Arnd Bergmann Cc: kbuild-all@lists.01.org, Linux Memory Management List Subject: [linux-next:master 4629/8237] drivers/video/fbdev/omap/hwa742.c:492:5: warning: no previous prototype for 'hwa742_update_window_async' Message-ID: <202205041248.WgCwPcEV-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: 3xyfyygp9stoykfmhg6t8iatg69huxmk X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: CD075C007F Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=QLu9ZCVk; spf=none (imf10.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.126) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-HE-Tag: 1651640850-629778 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 44a2f39e611ac0bc1f17c288a583d7f2e5684aa7 commit: 804f7f19c2e2928aeb8eafef8379fe8b8d13f98b [4629/8237] fbdev: omap: avoid using mach/*.h files config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20220504/202205041248.WgCwPcEV-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 11.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=804f7f19c2e2928aeb8eafef8379fe8b8d13f98b git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 804f7f19c2e2928aeb8eafef8379fe8b8d13f98b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/video/fbdev/omap/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/video/fbdev/omap/hwa742.c:492:5: warning: no previous prototype for 'hwa742_update_window_async' [-Wmissing-prototypes] 492 | int hwa742_update_window_async(struct fb_info *fbi, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/video/fbdev/omap/hwa742.c: In function 'setup_tearsync': drivers/video/fbdev/omap/hwa742.c:791:20: warning: variable 'vdisp' set but not used [-Wunused-but-set-variable] 791 | int hdisp, vdisp; | ^~~~~ drivers/video/fbdev/omap/hwa742.c: In function 'hwa742_init': drivers/video/fbdev/omap/hwa742.c:943:38: warning: variable 'omapfb_conf' set but not used [-Wunused-but-set-variable] 943 | struct omapfb_platform_data *omapfb_conf; | ^~~~~~~~~~~ vim +/hwa742_update_window_async +492 drivers/video/fbdev/omap/hwa742.c 6e4863dbb5612f drivers/video/fbdev/omap/hwa742.c Ahmed S. Darwish 2021-02-08 491 aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 @492 int hwa742_update_window_async(struct fb_info *fbi, aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 493 struct omapfb_update_window *win, aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 494 void (*complete_callback)(void *arg), aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 495 void *complete_callback_data) aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 496 { aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 497 LIST_HEAD(req_list); aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 498 struct hwa742_request *last; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 499 int r = 0; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 500 aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 501 if (hwa742.update_mode != OMAPFB_MANUAL_UPDATE) { aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 502 dev_dbg(hwa742.fbdev->dev, "invalid update mode\n"); aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 503 r = -EINVAL; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 504 goto out; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 505 } aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 506 if (unlikely(win->format & aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 507 ~(0x03 | OMAPFB_FORMAT_FLAG_DOUBLE | aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 508 OMAPFB_FORMAT_FLAG_TEARSYNC | OMAPFB_FORMAT_FLAG_FORCE_VSYNC))) { 898eb71cb17644 drivers/video/omap/hwa742.c Joe Perches 2007-10-18 509 dev_dbg(hwa742.fbdev->dev, "invalid window flag\n"); aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 510 r = -EINVAL; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 511 goto out; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 512 } aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 513 6e4863dbb5612f drivers/video/fbdev/omap/hwa742.c Ahmed S. Darwish 2021-02-08 514 create_req_list(win, &req_list, true); aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 515 last = list_entry(req_list.prev, struct hwa742_request, entry); aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 516 aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 517 last->complete = complete_callback; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 518 last->complete_data = (void *)complete_callback_data; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 519 aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 520 submit_req_list(&req_list); aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 521 aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 522 out: aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 523 return r; aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 524 } aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 525 EXPORT_SYMBOL(hwa742_update_window_async); aae76ef13e348c drivers/video/omap/hwa742.c Imre Deak 2007-05-26 526 :::::: The code at line 492 was first introduced by commit :::::: aae76ef13e348cebac225407ea2c452f8d0ff862 OMAP: add external Epson HWA742 LCD controller support :::::: TO: Imre Deak :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://01.org/lkp