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>] [day] [month] [year] [list]
Date:   Mon, 17 Oct 2022 20:08:01 +0800
From:   kernel test robot <lkp@...el.com>
To:     Vaishnav Achath <vaishnav.a@...com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Sasha Levin <sashal@...nel.org>,
        Vinod Koul <vkoul@...nel.org>
Subject: [linux-stable-rc:queue/5.10 435/458]
 drivers/dma/ti/k3-udma.c:666:12: error: no member named 'bchan' in 'struct
 udma_chan'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.10
head:   7cf009aecdf6357b35045c6b455a95376a57a978
commit: 685e13a17012c2c0b4d39b1623a83b81df54ce66 [435/458] dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow
config: arm64-randconfig-r024-20221017
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=685e13a17012c2c0b4d39b1623a83b81df54ce66
        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 queue/5.10
        git checkout 685e13a17012c2c0b4d39b1623a83b81df54ce66
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/dma/ti/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/dma/ti/k3-udma.c:666:12: error: no member named 'bchan' in 'struct udma_chan'
                   if (!uc->bchan)
                        ~~  ^
   1 error generated.


vim +666 drivers/dma/ti/k3-udma.c

   656	
   657	static void udma_decrement_byte_counters(struct udma_chan *uc, u32 val)
   658	{
   659		if (uc->desc->dir == DMA_DEV_TO_MEM) {
   660			udma_rchanrt_write(uc, UDMA_CHAN_RT_BCNT_REG, val);
   661			udma_rchanrt_write(uc, UDMA_CHAN_RT_SBCNT_REG, val);
   662			udma_rchanrt_write(uc, UDMA_CHAN_RT_PEER_BCNT_REG, val);
   663		} else {
   664			udma_tchanrt_write(uc, UDMA_CHAN_RT_BCNT_REG, val);
   665			udma_tchanrt_write(uc, UDMA_CHAN_RT_SBCNT_REG, val);
 > 666			if (!uc->bchan)
   667				udma_tchanrt_write(uc, UDMA_CHAN_RT_PEER_BCNT_REG, val);
   668		}
   669	}
   670	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (119028 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ