lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 19 Oct 2023 21:00:31 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jyan Chou <jyanchou@...ltek.com>, adrian.hunter@...el.com,
        ulf.hansson@...aro.org, jh80.chung@...sung.com
Cc:     llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
        linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
        benchuanggli@...il.com, jyanchou@...ltek.com
Subject: Re: [PATCH V2][1/4] mmc: solve DMA boundary limitation of CQHCI
 driver

Hi Jyan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.6-rc6 next-20231019]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Jyan-Chou/mmc-solve-DMA-boundary-limitation-of-CQHCI-driver/20231018-135532
base:   linus/master
patch link:    https://lore.kernel.org/r/20231018055326.18256-2-jyanchou%40realtek.com
patch subject: [PATCH V2][1/4] mmc: solve DMA boundary limitation of CQHCI driver
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20231019/202310192006.ZUfTNe5e-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231019/202310192006.ZUfTNe5e-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310192006.ZUfTNe5e-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/mmc/host/cqhci-core.c:477:6: warning: no previous prototype for function 'cqhci_set_tran_desc' [-Wmissing-prototypes]
   void cqhci_set_tran_desc(u8 *desc, dma_addr_t addr, int len, bool end,
        ^
   drivers/mmc/host/cqhci-core.c:477:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void cqhci_set_tran_desc(u8 *desc, dma_addr_t addr, int len, bool end,
   ^
   static 
   1 warning generated.


vim +/cqhci_set_tran_desc +477 drivers/mmc/host/cqhci-core.c

   476	
 > 477	void cqhci_set_tran_desc(u8 *desc, dma_addr_t addr, int len, bool end,
   478					bool dma64)
   479	{
   480		__le32 *attr = (__le32 __force *)desc;
   481	
   482		*attr = (CQHCI_VALID(1) |
   483			 CQHCI_END(end ? 1 : 0) |
   484			 CQHCI_INT(0) |
   485			 CQHCI_ACT(0x4) |
   486			 CQHCI_DAT_LENGTH(len));
   487	
   488		if (dma64) {
   489			__le64 *dataddr = (__le64 __force *)(desc + 4);
   490	
   491			dataddr[0] = cpu_to_le64(addr);
   492		} else {
   493			__le32 *dataddr = (__le32 __force *)(desc + 4);
   494	
   495			dataddr[0] = cpu_to_le32(addr);
   496		}
   497	}
   498	EXPORT_SYMBOL(cqhci_set_tran_desc);
   499	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ