All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: drivers/gpu/drm/etnaviv/etnaviv_iommu.c:122:15: sparse: sparse: memcpy with byte count of 2097152
Date: Wed, 20 Dec 2023 09:08:34 +0800	[thread overview]
Message-ID: <202312200801.LlrCUdFc-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "only kconfig file changed"
:::::: Manual check reason: "low confidence static check first_new_problem: drivers/gpu/drm/etnaviv/etnaviv_iommu.c:122:15: sparse: sparse: memcpy with byte count of 2097152"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Matthew Wilcox <willy@infradead.org>
CC: Lucas Stach <l.stach@pengutronix.de>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   55cb5f43689d7a9ea5bf35ef050f12334f197347
commit: a20ca6744ba7e683a772bb5f1715e4662342be58 Build etnaviv on non-ARM architectures
date:   4 years, 11 months ago
:::::: branch date: 5 hours ago
:::::: commit date: 4 years, 11 months ago
config: parisc-randconfig-m041-20230821 (https://download.01.org/0day-ci/archive/20231220/202312200801.LlrCUdFc-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20231220/202312200801.LlrCUdFc-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202312200801.LlrCUdFc-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/gpu/drm/etnaviv/etnaviv_iommu.c: note: in included file (through arch/parisc/include/uapi/asm/unistd.h, arch/parisc/include/asm/unistd.h, include/uapi/linux/unistd.h, ...):
   ./arch/parisc/include/generated/uapi/asm/unistd_32.h:343:41: sparse: sparse: no newline at end of file
>> drivers/gpu/drm/etnaviv/etnaviv_iommu.c:122:15: sparse: sparse: memcpy with byte count of 2097152

vim +122 drivers/gpu/drm/etnaviv/etnaviv_iommu.c

a8c21a5451d831 The etnaviv authors 2015-12-03  116  
b670908384bda9 Lucas Stach         2017-09-07  117  static void etnaviv_iommuv1_dump(struct etnaviv_iommu_domain *domain, void *buf)
a8c21a5451d831 The etnaviv authors 2015-12-03  118  {
b670908384bda9 Lucas Stach         2017-09-07  119  	struct etnaviv_iommuv1_domain *etnaviv_domain =
b670908384bda9 Lucas Stach         2017-09-07  120  			to_etnaviv_domain(domain);
a8c21a5451d831 The etnaviv authors 2015-12-03  121  
b670908384bda9 Lucas Stach         2017-09-07 @122  	memcpy(buf, etnaviv_domain->pgtable_cpu, PT_SIZE);
a8c21a5451d831 The etnaviv authors 2015-12-03  123  }
a8c21a5451d831 The etnaviv authors 2015-12-03  124  

:::::: The code at line 122 was first introduced by commit
:::::: b670908384bda92c42076cf36614ee4f97763253 drm/etnaviv: remove IOMMU dependency

:::::: TO: Lucas Stach <l.stach@pengutronix.de>
:::::: CC: Lucas Stach <l.stach@pengutronix.de>

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

             reply	other threads:[~2023-12-20  1:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20  1:08 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-17  3:51 drivers/gpu/drm/etnaviv/etnaviv_iommu.c:122:15: sparse: sparse: memcpy with byte count of 2097152 kernel test robot

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=202312200801.LlrCUdFc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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.