From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-stable-rc:linux-5.10.y 4013/4144] drivers/ata/pata_cs5520.c:98:19: warning: initialized field overwritten
Date: Thu, 12 Aug 2021 22:47:19 +0800 [thread overview]
Message-ID: <202108122259.eptMsTAq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3123 bytes --]
Hi Julian,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head: 5f894e4a8758db7af6eeb43311c0e9314871b031
commit: 955da2b5cd9855b186f14b71ddb1703d5144193c [4013/4144] lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
config: csky-buildonly-randconfig-r004-20210812 (attached as .config)
compiler: csky-linux-gcc (GCC) 10.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/stable/linux-stable-rc.git/commit/?id=955da2b5cd9855b186f14b71ddb1703d5144193c
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout 955da2b5cd9855b186f14b71ddb1703d5144193c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=csky
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/ata/pata_cs5520.c:98:19: warning: initialized field overwritten [-Woverride-init]
98 | .sg_tablesize = LIBATA_DUMB_MAX_PRD,
| ^~~~~~~~~~~~~~~~~~~
drivers/ata/pata_cs5520.c:98:19: note: (near initialization for 'cs5520_sht.sg_tablesize')
--
In function 'sky2_name',
inlined from 'sky2_probe.part.0' at drivers/net/ethernet/marvell/sky2.c:5049:2:
>> drivers/net/ethernet/marvell/sky2.c:4903:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
4903 | strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
vim +98 drivers/ata/pata_cs5520.c
669a5db411d85a Jeff Garzik 2006-08-29 95
669a5db411d85a Jeff Garzik 2006-08-29 96 static struct scsi_host_template cs5520_sht = {
68d1d07b510bb5 Tejun Heo 2008-03-25 97 ATA_BMDMA_SHT(DRV_NAME),
d26fc9551a15fd Alan Cox 2007-07-06 @98 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
669a5db411d85a Jeff Garzik 2006-08-29 99 };
669a5db411d85a Jeff Garzik 2006-08-29 100
:::::: The code at line 98 was first introduced by commit
:::::: d26fc9551a15fdad0d5de8376a78816b8af44f00 libata: Support chips with 64K PRD quirk
:::::: TO: Alan Cox <alan@lxorguk.ukuu.org.uk>
:::::: CC: Jeff Garzik <jeff@garzik.org>
---
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: 34267 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Julian Braha <julianbraha@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
Sasha Levin <sashal@kernel.org>
Subject: [linux-stable-rc:linux-5.10.y 4013/4144] drivers/ata/pata_cs5520.c:98:19: warning: initialized field overwritten
Date: Thu, 12 Aug 2021 22:47:19 +0800 [thread overview]
Message-ID: <202108122259.eptMsTAq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3060 bytes --]
Hi Julian,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head: 5f894e4a8758db7af6eeb43311c0e9314871b031
commit: 955da2b5cd9855b186f14b71ddb1703d5144193c [4013/4144] lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
config: csky-buildonly-randconfig-r004-20210812 (attached as .config)
compiler: csky-linux-gcc (GCC) 10.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/stable/linux-stable-rc.git/commit/?id=955da2b5cd9855b186f14b71ddb1703d5144193c
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout 955da2b5cd9855b186f14b71ddb1703d5144193c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=csky
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/ata/pata_cs5520.c:98:19: warning: initialized field overwritten [-Woverride-init]
98 | .sg_tablesize = LIBATA_DUMB_MAX_PRD,
| ^~~~~~~~~~~~~~~~~~~
drivers/ata/pata_cs5520.c:98:19: note: (near initialization for 'cs5520_sht.sg_tablesize')
--
In function 'sky2_name',
inlined from 'sky2_probe.part.0' at drivers/net/ethernet/marvell/sky2.c:5049:2:
>> drivers/net/ethernet/marvell/sky2.c:4903:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
4903 | strncpy(buf, name[chipid - CHIP_ID_YUKON_XL], sz);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
vim +98 drivers/ata/pata_cs5520.c
669a5db411d85a Jeff Garzik 2006-08-29 95
669a5db411d85a Jeff Garzik 2006-08-29 96 static struct scsi_host_template cs5520_sht = {
68d1d07b510bb5 Tejun Heo 2008-03-25 97 ATA_BMDMA_SHT(DRV_NAME),
d26fc9551a15fd Alan Cox 2007-07-06 @98 .sg_tablesize = LIBATA_DUMB_MAX_PRD,
669a5db411d85a Jeff Garzik 2006-08-29 99 };
669a5db411d85a Jeff Garzik 2006-08-29 100
:::::: The code at line 98 was first introduced by commit
:::::: d26fc9551a15fdad0d5de8376a78816b8af44f00 libata: Support chips with 64K PRD quirk
:::::: TO: Alan Cox <alan@lxorguk.ukuu.org.uk>
:::::: CC: Jeff Garzik <jeff@garzik.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34267 bytes --]
next reply other threads:[~2021-08-12 14:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 14:47 kernel test robot [this message]
2021-08-12 14:47 ` [linux-stable-rc:linux-5.10.y 4013/4144] drivers/ata/pata_cs5520.c:98:19: warning: initialized field overwritten 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=202108122259.eptMsTAq-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.