All of lore.kernel.org
 help / color / mirror / Atom feed
* [xlnx:xlnx_rebase_v5.4 19/1701] include/linux/mtd/rawnand.h:1294:16: sparse: sparse: cast to restricted __le16
@ 2021-04-02 14:01 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-02 14:01 UTC (permalink / raw)
  To: Naga Sureshkumar Relli; +Cc: kbuild-all, linux-arm-kernel, Michal Simek

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

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   8540825db3d5519ef205a710515b7819b95eeb4f
commit: 1dea215e98f470c4fabe230cb5dcb648e3301fb9 [19/1701] mtd: rawnand: Add support for ARASAN NAND controller
config: x86_64-randconfig-s021-20210401 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-279-g6d5d9b42-dirty
        # https://github.com/Xilinx/linux-xlnx/commit/1dea215e98f470c4fabe230cb5dcb648e3301fb9
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 1dea215e98f470c4fabe230cb5dcb648e3301fb9
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
   drivers/mtd/nand/raw/arasan_nand.c: note: in included file:
>> include/linux/mtd/rawnand.h:1294:16: sparse: sparse: cast to restricted __le16

vim +1294 include/linux/mtd/rawnand.h

cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1287  
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1288  /* return the supported synchronous timing mode. */
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1289  static inline int onfi_get_sync_timing_mode(struct nand_chip *chip)
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1290  {
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1291  	if (!chip->parameters.onfi)
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1292  		return ONFI_TIMING_MODE_UNKNOWN;
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1293  
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05 @1294  	return le16_to_cpu(chip->parameters.onfi->src_sync_timing_mode);
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1295  }
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1296  

:::::: The code at line 1294 was first introduced by commit
:::::: cbb56fde78b2f2617856523a561f10102c622c8f mtd: rawnand: Add sync and async timing mode support

:::::: TO: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
:::::: CC: Michal Simek <michal.simek@xilinx.com>

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

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [xlnx:xlnx_rebase_v5.4 19/1701] include/linux/mtd/rawnand.h:1294:16: sparse: sparse: cast to restricted __le16
@ 2021-04-02 14:01 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-02 14:01 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   8540825db3d5519ef205a710515b7819b95eeb4f
commit: 1dea215e98f470c4fabe230cb5dcb648e3301fb9 [19/1701] mtd: rawnand: Add support for ARASAN NAND controller
config: x86_64-randconfig-s021-20210401 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-279-g6d5d9b42-dirty
        # https://github.com/Xilinx/linux-xlnx/commit/1dea215e98f470c4fabe230cb5dcb648e3301fb9
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 1dea215e98f470c4fabe230cb5dcb648e3301fb9
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
   drivers/mtd/nand/raw/arasan_nand.c: note: in included file:
>> include/linux/mtd/rawnand.h:1294:16: sparse: sparse: cast to restricted __le16

vim +1294 include/linux/mtd/rawnand.h

cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1287  
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1288  /* return the supported synchronous timing mode. */
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1289  static inline int onfi_get_sync_timing_mode(struct nand_chip *chip)
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1290  {
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1291  	if (!chip->parameters.onfi)
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1292  		return ONFI_TIMING_MODE_UNKNOWN;
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1293  
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05 @1294  	return le16_to_cpu(chip->parameters.onfi->src_sync_timing_mode);
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1295  }
cbb56fde78b2f2 Naga Sureshkumar Relli 2019-12-05  1296  

:::::: The code at line 1294 was first introduced by commit
:::::: cbb56fde78b2f2617856523a561f10102c622c8f mtd: rawnand: Add sync and async timing mode support

:::::: TO: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
:::::: CC: Michal Simek <michal.simek@xilinx.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-02 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 14:01 [xlnx:xlnx_rebase_v5.4 19/1701] include/linux/mtd/rawnand.h:1294:16: sparse: sparse: cast to restricted __le16 kernel test robot
2021-04-02 14:01 ` 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.