tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   b0c3ba31be3e45a130e13b278cf3b90f69bda6f6
commit: bbb1658461ac85ef7e0563bb11283f94ea5eb651 dm crypt: Implement Elephant 
diffuser for Bitlocker compatibility
date:   4 months ago
config: parisc-randconfig-s032-20200528 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-240-gf0fe1cd9-dirty
        git checkout bbb1658461ac85ef7e0563bb11283f94ea5eb651
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=parisc CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

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


sparse warnings: (new ones prefixed by >>)

   ./arch/parisc/include/generated/uapi/asm/unistd_32.h:380:41: sparse: sparse: 
no newline at end of file
   drivers/md/dm-crypt.c:782:24: sparse: sparse: cast to restricted __le32
   drivers/md/dm-crypt.c:782:24: sparse: sparse: cast to restricted __le32
   drivers/md/dm-crypt.c:782:24: sparse: sparse: cast to restricted __le32
   drivers/md/dm-crypt.c:782:24: sparse: sparse: cast to restricted __le32
   drivers/md/dm-crypt.c:782:24: sparse: sparse: cast to restricted __le32
   drivers/md/dm-crypt.c:782:24: sparse: sparse: cast to restricted __le32
>> drivers/md/dm-crypt.c:792:24: sparse: sparse: cast from restricted __le32
>> drivers/md/dm-crypt.c:792:24: sparse: sparse: cast from restricted __le32
>> drivers/md/dm-crypt.c:792:24: sparse: sparse: cast from restricted __le32
>> drivers/md/dm-crypt.c:792:24: sparse: sparse: cast from restricted __le32
>> drivers/md/dm-crypt.c:792:24: sparse: sparse: cast from restricted __le32
>> drivers/md/dm-crypt.c:792:24: sparse: sparse: cast from restricted __le32

vim +792 drivers/md/dm-crypt.c

   785  
   786  static void diffuser_cpu_to_disk(__le32 *d, size_t n)
   787  {
   788  #ifndef __LITTLE_ENDIAN
   789          int i;
   790  
   791          for (i = 0; i < n; i++)
 > 792                  d[i] = cpu_to_le32((u32)d[i]);
   793  #endif
   794  }
   795  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

Reply via email to