All of lore.kernel.org
 help / color / mirror / Atom feed
* [thierryreding:for-5.12/work 20/29] drivers/gpu/drm/tegra/uapi/uapi.c:62:5: warning: no previous prototype for function 'close_channel_ctx'
@ 2021-02-25 21:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-25 21:02 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/thierryreding/linux for-5.12/work
head:   91c0a74fb5a993bf95550595574295476c1345ea
commit: 8069444c71d0b52c34ccb30e556544cd5eac466d [20/29] drm/tegra: Implement new UAPI
config: arm64-randconfig-r035-20210225 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project a921aaf789912d981cbb2036bdc91ad7289e1523)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/thierryreding/linux/commit/8069444c71d0b52c34ccb30e556544cd5eac466d
        git remote add thierryreding https://github.com/thierryreding/linux
        git fetch --no-tags thierryreding for-5.12/work
        git checkout 8069444c71d0b52c34ccb30e556544cd5eac466d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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/tegra/uapi/uapi.c:62:5: warning: no previous prototype for function 'close_channel_ctx' [-Wmissing-prototypes]
   int close_channel_ctx(int id, void *p, void *data)
       ^
   drivers/gpu/drm/tegra/uapi/uapi.c:62:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int close_channel_ctx(int id, void *p, void *data)
   ^
   static 
   1 warning generated.


vim +/close_channel_ctx +62 drivers/gpu/drm/tegra/uapi/uapi.c

    61	
  > 62	int close_channel_ctx(int id, void *p, void *data)
    63	{
    64		struct tegra_drm_channel_ctx *ctx = p;
    65	
    66		tegra_drm_channel_ctx_close(ctx);
    67	
    68		return 0;
    69	}
    70	

---
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: 43202 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-25 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 21:02 [thierryreding:for-5.12/work 20/29] drivers/gpu/drm/tegra/uapi/uapi.c:62:5: warning: no previous prototype for function 'close_channel_ctx' kernel test robot

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.