All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ben Skeggs <bskeggs@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Mon, 13 Mar 2023 18:25:34 +0800	[thread overview]
Message-ID: <202303131805.Bioz9HL7-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-03-13 10:26 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=202303131805.Bioz9HL7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bskeggs@redhat.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.