linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types)
@ 2020-08-27  0:12 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-27  0:12 UTC (permalink / raw)
  To: Peng Ma; +Cc: kbuild-all, linux-kernel, Vinod Koul

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   15bc20c6af4ceee97a1f90b43c0e386643c071b4
commit: 7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6 dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs
date:   11 months ago
config: arm64-randconfig-s031-20200826 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm64 

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/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
>> drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     expected unsigned int [usertype] cmd
>> drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     got restricted __le32 [usertype]
--
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le64 [usertype] @@     got restricted __le32 [usertype] @@
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     expected restricted __le64 [usertype]
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     got restricted __le32 [usertype]
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6
vim +183 drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c

   170	
   171	/* first frame list for descriptor buffer */
   172	static void
   173	dpaa2_qdma_populate_first_framel(struct dpaa2_fl_entry *f_list,
   174					 struct dpaa2_qdma_comp *dpaa2_comp,
   175					 bool wrt_changed)
   176	{
   177		struct dpaa2_qdma_sd_d *sdd;
   178	
   179		sdd = dpaa2_comp->desc_virt_addr;
   180		memset(sdd, 0, 2 * (sizeof(*sdd)));
   181	
   182		/* source descriptor CMD */
 > 183		sdd->cmd = cpu_to_le32(QDMA_SD_CMD_RDTTYPE_COHERENT);
   184		sdd++;
   185	
   186		/* dest descriptor CMD */
   187		if (wrt_changed)
   188			sdd->cmd = cpu_to_le32(LX2160_QDMA_DD_CMD_WRTTYPE_COHERENT);
   189		else
   190			sdd->cmd = cpu_to_le32(QDMA_DD_CMD_WRTTYPE_COHERENT);
   191	
   192		memset(f_list, 0, sizeof(struct dpaa2_fl_entry));
   193	
   194		/* first frame list to source descriptor */
   195		dpaa2_fl_set_addr(f_list, dpaa2_comp->desc_bus_addr);
   196		dpaa2_fl_set_len(f_list, 0x20);
   197		dpaa2_fl_set_format(f_list, QDMA_FL_FMT_SBF | QDMA_FL_SL_LONG);
   198	
   199		/* bypass memory translation */
   200		if (smmu_disable)
   201			f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE);
   202	}
   203	

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

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

* drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types)
@ 2023-12-19 17:16 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-12-19 17:16 UTC (permalink / raw)
  To: Peng Ma; +Cc: oe-kbuild-all, linux-kernel, Vinod Koul

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2cf4f94d8e8646803f8fb0facf134b0cd7fb691a
commit: 7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6 dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs
date:   4 years, 2 months ago
config: arm64-randconfig-r112-20231117 (https://download.01.org/0day-ci/archive/20231220/202312200159.ag3UnT1M-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231220/202312200159.ag3UnT1M-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/oe-kbuild-all/202312200159.ag3UnT1M-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     got restricted __le32 [usertype]
--
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le64 [usertype] @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     expected restricted __le64 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     got restricted __le32 [usertype]
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long

vim +183 drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c

   170	
   171	/* first frame list for descriptor buffer */
   172	static void
   173	dpaa2_qdma_populate_first_framel(struct dpaa2_fl_entry *f_list,
   174					 struct dpaa2_qdma_comp *dpaa2_comp,
   175					 bool wrt_changed)
   176	{
   177		struct dpaa2_qdma_sd_d *sdd;
   178	
   179		sdd = dpaa2_comp->desc_virt_addr;
   180		memset(sdd, 0, 2 * (sizeof(*sdd)));
   181	
   182		/* source descriptor CMD */
 > 183		sdd->cmd = cpu_to_le32(QDMA_SD_CMD_RDTTYPE_COHERENT);
   184		sdd++;
   185	
   186		/* dest descriptor CMD */
   187		if (wrt_changed)
   188			sdd->cmd = cpu_to_le32(LX2160_QDMA_DD_CMD_WRTTYPE_COHERENT);
   189		else
   190			sdd->cmd = cpu_to_le32(QDMA_DD_CMD_WRTTYPE_COHERENT);
   191	
   192		memset(f_list, 0, sizeof(struct dpaa2_fl_entry));
   193	
   194		/* first frame list to source descriptor */
   195		dpaa2_fl_set_addr(f_list, dpaa2_comp->desc_bus_addr);
   196		dpaa2_fl_set_len(f_list, 0x20);
   197		dpaa2_fl_set_format(f_list, QDMA_FL_FMT_SBF | QDMA_FL_SL_LONG);
   198	
   199		/* bypass memory translation */
   200		if (smmu_disable)
   201			f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE);
   202	}
   203	

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

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

* drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types)
@ 2023-12-18 21:10 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-12-18 21:10 UTC (permalink / raw)
  To: Peng Ma; +Cc: oe-kbuild-all, linux-kernel, Vinod Koul

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2cf4f94d8e8646803f8fb0facf134b0cd7fb691a
commit: 7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6 dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs
date:   4 years, 2 months ago
config: arm64-randconfig-r112-20231117 (https://download.01.org/0day-ci/archive/20231219/202312190533.Lbc18dxc-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231219/202312190533.Lbc18dxc-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/oe-kbuild-all/202312190533.Lbc18dxc-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     got restricted __le32 [usertype]
--
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le64 [usertype] @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     expected restricted __le64 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     got restricted __le32 [usertype]
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long

vim +183 drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c

   170	
   171	/* first frame list for descriptor buffer */
   172	static void
   173	dpaa2_qdma_populate_first_framel(struct dpaa2_fl_entry *f_list,
   174					 struct dpaa2_qdma_comp *dpaa2_comp,
   175					 bool wrt_changed)
   176	{
   177		struct dpaa2_qdma_sd_d *sdd;
   178	
   179		sdd = dpaa2_comp->desc_virt_addr;
   180		memset(sdd, 0, 2 * (sizeof(*sdd)));
   181	
   182		/* source descriptor CMD */
 > 183		sdd->cmd = cpu_to_le32(QDMA_SD_CMD_RDTTYPE_COHERENT);
   184		sdd++;
   185	
   186		/* dest descriptor CMD */
   187		if (wrt_changed)
   188			sdd->cmd = cpu_to_le32(LX2160_QDMA_DD_CMD_WRTTYPE_COHERENT);
   189		else
   190			sdd->cmd = cpu_to_le32(QDMA_DD_CMD_WRTTYPE_COHERENT);
   191	
   192		memset(f_list, 0, sizeof(struct dpaa2_fl_entry));
   193	
   194		/* first frame list to source descriptor */
   195		dpaa2_fl_set_addr(f_list, dpaa2_comp->desc_bus_addr);
   196		dpaa2_fl_set_len(f_list, 0x20);
   197		dpaa2_fl_set_format(f_list, QDMA_FL_FMT_SBF | QDMA_FL_SL_LONG);
   198	
   199		/* bypass memory translation */
   200		if (smmu_disable)
   201			f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE);
   202	}
   203	

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

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

* drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types)
@ 2020-07-08 13:14 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-07-08 13:14 UTC (permalink / raw)
  To: Peng Ma; +Cc: kbuild-all, linux-kernel, Vinod Koul

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   dcde237b9b0eb1d19306e6f48c0a4e058907619f
commit: 7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6 dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs
date:   9 months ago
config: arm64-randconfig-s031-20200708 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-37-gc9676a3b-dirty
        git checkout 7fdf9b05c73b79c4d9a85b5a9905efa10ee482a6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm64 

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/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
>> drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     expected unsigned int [usertype] cmd
>> drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:188:26: sparse:     got restricted __le32 [usertype]
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse: sparse: incorrect type in assignment (different base types) @@     expected unsigned int [usertype] cmd @@     got restricted __le32 [usertype] @@
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     expected unsigned int [usertype] cmd
   drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:190:26: sparse:     got restricted __le32 [usertype]
--
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse: sparse: incorrect type in assignment (different base types) @@     expected restricted __le64 [usertype] @@     got restricted __le32 [usertype] @@
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     expected restricted __le64 [usertype]
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:81:24: sparse:     got restricted __le32 [usertype]
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse: sparse: invalid assignment: |=
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    left side has type restricted __le64
>> drivers/dma/fsl-dpaa2-qdma/dpdmai.c:148:9: sparse:    right side has type unsigned long long

vim +183 drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c

   170	
   171	/* first frame list for descriptor buffer */
   172	static void
   173	dpaa2_qdma_populate_first_framel(struct dpaa2_fl_entry *f_list,
   174					 struct dpaa2_qdma_comp *dpaa2_comp,
   175					 bool wrt_changed)
   176	{
   177		struct dpaa2_qdma_sd_d *sdd;
   178	
   179		sdd = dpaa2_comp->desc_virt_addr;
   180		memset(sdd, 0, 2 * (sizeof(*sdd)));
   181	
   182		/* source descriptor CMD */
 > 183		sdd->cmd = cpu_to_le32(QDMA_SD_CMD_RDTTYPE_COHERENT);
   184		sdd++;
   185	
   186		/* dest descriptor CMD */
   187		if (wrt_changed)
   188			sdd->cmd = cpu_to_le32(LX2160_QDMA_DD_CMD_WRTTYPE_COHERENT);
   189		else
   190			sdd->cmd = cpu_to_le32(QDMA_DD_CMD_WRTTYPE_COHERENT);
   191	
   192		memset(f_list, 0, sizeof(struct dpaa2_fl_entry));
   193	
   194		/* first frame list to source descriptor */
   195		dpaa2_fl_set_addr(f_list, dpaa2_comp->desc_bus_addr);
   196		dpaa2_fl_set_len(f_list, 0x20);
   197		dpaa2_fl_set_format(f_list, QDMA_FL_FMT_SBF | QDMA_FL_SL_LONG);
   198	
   199		/* bypass memory translation */
   200		if (smmu_disable)
   201			f_list->bpid = cpu_to_le16(QDMA_FL_BMT_ENABLE);
   202	}
   203	

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

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

end of thread, other threads:[~2023-12-19 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-27  0:12 drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:183:18: sparse: sparse: incorrect type in assignment (different base types) kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2023-12-19 17:16 kernel test robot
2023-12-18 21:10 kernel test robot
2020-07-08 13:14 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).