All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-5.7 346/349] drivers/spi/spi-fsl-dspi.c:1437:7: error: use of undeclared identifier 'SPI_MCR_DIS_TXF'
@ 2020-07-08  0:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-08  0:19 UTC (permalink / raw
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.7
head:   4b2c068f670ba180e3048703c477727032ac7ea3
commit: 0d3725368b5fe72edee8376fd91555948741a4c9 [346/349] spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 0d3725368b5fe72edee8376fd91555948741a4c9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> drivers/spi/spi-fsl-dspi.c:1437:7: error: use of undeclared identifier 'SPI_MCR_DIS_TXF'
                              SPI_MCR_DIS_TXF | SPI_MCR_DIS_RXF,
                              ^
>> drivers/spi/spi-fsl-dspi.c:1437:25: error: use of undeclared identifier 'SPI_MCR_DIS_RXF'
                              SPI_MCR_DIS_TXF | SPI_MCR_DIS_RXF,
                                                ^
   drivers/spi/spi-fsl-dspi.c:1438:7: error: use of undeclared identifier 'SPI_MCR_DIS_TXF'
                              SPI_MCR_DIS_TXF | SPI_MCR_DIS_RXF);
                              ^
   drivers/spi/spi-fsl-dspi.c:1438:25: error: use of undeclared identifier 'SPI_MCR_DIS_RXF'
                              SPI_MCR_DIS_TXF | SPI_MCR_DIS_RXF);
                                                ^
>> drivers/spi/spi-fsl-dspi.c:1441:44: error: use of undeclared identifier 'SPI_MCR_HALT'
           regmap_update_bits(dspi->regmap, SPI_MCR, SPI_MCR_HALT, SPI_MCR_HALT);
                                                     ^
   drivers/spi/spi-fsl-dspi.c:1441:58: error: use of undeclared identifier 'SPI_MCR_HALT'
           regmap_update_bits(dspi->regmap, SPI_MCR, SPI_MCR_HALT, SPI_MCR_HALT);
                                                                   ^
   6 errors generated.

vim +/SPI_MCR_DIS_TXF +1437 drivers/spi/spi-fsl-dspi.c

  1426	
  1427	static int dspi_remove(struct platform_device *pdev)
  1428	{
  1429		struct spi_controller *ctlr = platform_get_drvdata(pdev);
  1430		struct fsl_dspi *dspi = spi_controller_get_devdata(ctlr);
  1431	
  1432		/* Disconnect from the SPI framework */
  1433		spi_unregister_controller(dspi->ctlr);
  1434	
  1435		/* Disable RX and TX */
  1436		regmap_update_bits(dspi->regmap, SPI_MCR,
> 1437				   SPI_MCR_DIS_TXF | SPI_MCR_DIS_RXF,
  1438				   SPI_MCR_DIS_TXF | SPI_MCR_DIS_RXF);
  1439	
  1440		/* Stop Running */
> 1441		regmap_update_bits(dspi->regmap, SPI_MCR, SPI_MCR_HALT, SPI_MCR_HALT);
  1442	
  1443		dspi_release_dma(dspi);
  1444		clk_disable_unprepare(dspi->clk);
  1445	
  1446		return 0;
  1447	}
  1448	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-08  0:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-08  0:19 [sashal-linux-stable:queue-5.7 346/349] drivers/spi/spi-fsl-dspi.c:1437:7: error: use of undeclared identifier 'SPI_MCR_DIS_TXF' 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.