All of lore.kernel.org
 help / color / mirror / Atom feed
* [skeggsb-nouveau:01.03-gsp-ada 57/68] drivers/gpu/drm/nouveau/nvif/outp.c:335:1: warning: the frame size of 2056 bytes is larger than 1024 bytes
@ 2023-03-13 10:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-13 10:25 UTC (permalink / raw)
  To: Ben Skeggs; +Cc: oe-kbuild-all

tree:   https://gitlab.freedesktop.org/skeggsb/nouveau 01.03-gsp-ada
head:   89da5e5109a92f4be025e40b80d1f1a6c1d6d8c7
commit: f88f955a8a247f03baa570bb53b67846f6af7e90 [57/68] disp
config: arm-randconfig-r046-20230313 (https://download.01.org/0day-ci/archive/20230313/202303131805.Bioz9HL7-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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
        git remote add skeggsb-nouveau https://gitlab.freedesktop.org/skeggsb/nouveau
        git fetch --no-tags skeggsb-nouveau 01.03-gsp-ada
        git checkout f88f955a8a247f03baa570bb53b67846f6af7e90
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm 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>
| Link: https://lore.kernel.org/oe-kbuild-all/202303131805.Bioz9HL7-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/nouveau/nvif/outp.c: In function 'nvif_outp_edid_get':
>> drivers/gpu/drm/nouveau/nvif/outp.c:335:1: warning: the frame size of 2056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
     335 | }
         | ^


vim +335 drivers/gpu/drm/nouveau/nvif/outp.c

   315	
   316	int
   317	nvif_outp_edid_get(struct nvif_outp *outp, u8 **pedid)
   318	{
   319		struct nvif_outp_edid_get_v0 args;
   320		int ret;
   321	
   322		args.version = 0;
   323	
   324		ret = nvif_mthd(&outp->object, NVIF_OUTP_V0_EDID_GET, &args, sizeof(args));
   325		NVIF_ERRON(ret, &outp->object, "[EDID_GET] size:%d", args.size);
   326		if (ret)
   327			return ret;
   328	
   329		*pedid = kmalloc(args.size, GFP_KERNEL);
   330		if (WARN_ON(!*pedid))
   331			return -ENOMEM;
   332	
   333		memcpy(*pedid, args.data, args.size);
   334		return args.size;
 > 335	}
   336	

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

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

only message in thread, other threads:[~2023-03-13 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-13 10:25 [skeggsb-nouveau:01.03-gsp-ada 57/68] drivers/gpu/drm/nouveau/nvif/outp.c:335:1: warning: the frame size of 2056 bytes is larger than 1024 bytes 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.