drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: 613c0826081bb4c6517f1a593480f9d60a00d88f pinctrl: tegra: Add pinmux support for Tegra194
date: 3 weeks ago
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 613c0826081bb4c6517f1a593480f9d60a00d88f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1392:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1392 | #define drive_touch_clk_pcc4 DRV_PINGROUP_ENTRY_Y(0x2004, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_touch_clk_pcc4'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1636:9: note: in expansion of macro 'PINGROUP'
1636 | PINGROUP(touch_clk_pcc4, GP, TOUCH, RSVD2, RSVD3, 0x2000, 1, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[0].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1392:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1392 | #define drive_touch_clk_pcc4 DRV_PINGROUP_ENTRY_Y(0x2004, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_touch_clk_pcc4'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1636:9: note: in expansion of macro 'PINGROUP'
1636 | PINGROUP(touch_clk_pcc4, GP, TOUCH, RSVD2, RSVD3, 0x2000, 1, Y, -1, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1393:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1393 | #define drive_uart3_rx_pcc6 DRV_PINGROUP_ENTRY_Y(0x200c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_uart3_rx_pcc6'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1637:9: note: in expansion of macro 'PINGROUP'
1637 | PINGROUP(uart3_rx_pcc6, UARTC, RSVD1, RSVD2, RSVD3, 0x2008, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[1].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1393:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1393 | #define drive_uart3_rx_pcc6 DRV_PINGROUP_ENTRY_Y(0x200c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_uart3_rx_pcc6'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1637:9: note: in expansion of macro 'PINGROUP'
1637 | PINGROUP(uart3_rx_pcc6, UARTC, RSVD1, RSVD2, RSVD3, 0x2008, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1394:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1394 | #define drive_uart3_tx_pcc5 DRV_PINGROUP_ENTRY_Y(0x2014, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_uart3_tx_pcc5'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1638:9: note: in expansion of macro 'PINGROUP'
1638 | PINGROUP(uart3_tx_pcc5, UARTC, RSVD1, RSVD2, RSVD3, 0x2010, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[2].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1394:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1394 | #define drive_uart3_tx_pcc5 DRV_PINGROUP_ENTRY_Y(0x2014, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_uart3_tx_pcc5'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1638:9: note: in expansion of macro 'PINGROUP'
1638 | PINGROUP(uart3_tx_pcc5, UARTC, RSVD1, RSVD2, RSVD3, 0x2010, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1395:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1395 | #define drive_gen8_i2c_sda_pdd2 DRV_PINGROUP_ENTRY_Y(0x201c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen8_i2c_sda_pdd2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1639:9: note: in expansion of macro 'PINGROUP'
1639 | PINGROUP(gen8_i2c_sda_pdd2, I2C8, RSVD1, RSVD2, RSVD3, 0x2018, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[3].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1395:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1395 | #define drive_gen8_i2c_sda_pdd2 DRV_PINGROUP_ENTRY_Y(0x201c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen8_i2c_sda_pdd2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1639:9: note: in expansion of macro 'PINGROUP'
1639 | PINGROUP(gen8_i2c_sda_pdd2, I2C8, RSVD1, RSVD2, RSVD3, 0x2018, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1396:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1396 | #define drive_gen8_i2c_scl_pdd1 DRV_PINGROUP_ENTRY_Y(0x2024, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen8_i2c_scl_pdd1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1640:9: note: in expansion of macro 'PINGROUP'
1640 | PINGROUP(gen8_i2c_scl_pdd1, I2C8, RSVD1, RSVD2, RSVD3, 0x2020, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[4].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1396:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1396 | #define drive_gen8_i2c_scl_pdd1 DRV_PINGROUP_ENTRY_Y(0x2024, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen8_i2c_scl_pdd1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1640:9: note: in expansion of macro 'PINGROUP'
1640 | PINGROUP(gen8_i2c_scl_pdd1, I2C8, RSVD1, RSVD2, RSVD3, 0x2020, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1397:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1397 | #define drive_spi2_mosi_pcc2 DRV_PINGROUP_ENTRY_Y(0x202c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_mosi_pcc2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1641:9: note: in expansion of macro 'PINGROUP'
1641 | PINGROUP(spi2_mosi_pcc2, SPI2, UARTG, RSVD2, RSVD3, 0x2028, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[5].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1397:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1397 | #define drive_spi2_mosi_pcc2 DRV_PINGROUP_ENTRY_Y(0x202c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_mosi_pcc2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1641:9: note: in expansion of macro 'PINGROUP'
1641 | PINGROUP(spi2_mosi_pcc2, SPI2, UARTG, RSVD2, RSVD3, 0x2028, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1398:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1398 | #define drive_gen2_i2c_scl_pcc7 DRV_PINGROUP_ENTRY_Y(0x2034, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen2_i2c_scl_pcc7'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1642:9: note: in expansion of macro 'PINGROUP'
1642 | PINGROUP(gen2_i2c_scl_pcc7, I2C2, RSVD1, RSVD2, RSVD3, 0x2030, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[6].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1398:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1398 | #define drive_gen2_i2c_scl_pcc7 DRV_PINGROUP_ENTRY_Y(0x2034, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen2_i2c_scl_pcc7'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1642:9: note: in expansion of macro 'PINGROUP'
1642 | PINGROUP(gen2_i2c_scl_pcc7, I2C2, RSVD1, RSVD2, RSVD3, 0x2030, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1399:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1399 | #define drive_spi2_cs0_pcc3 DRV_PINGROUP_ENTRY_Y(0x203c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_cs0_pcc3'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1643:9: note: in expansion of macro 'PINGROUP'
1643 | PINGROUP(spi2_cs0_pcc3, SPI2, UARTG, RSVD2, RSVD3, 0x2038, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[7].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1399:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1399 | #define drive_spi2_cs0_pcc3 DRV_PINGROUP_ENTRY_Y(0x203c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_cs0_pcc3'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1643:9: note: in expansion of macro 'PINGROUP'
1643 | PINGROUP(spi2_cs0_pcc3, SPI2, UARTG, RSVD2, RSVD3, 0x2038, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1400:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1400 | #define drive_gen2_i2c_sda_pdd0 DRV_PINGROUP_ENTRY_Y(0x2044, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen2_i2c_sda_pdd0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1644:9: note: in expansion of macro 'PINGROUP'
1644 | PINGROUP(gen2_i2c_sda_pdd0, I2C2, RSVD1, RSVD2, RSVD3, 0x2040, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[8].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1400:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1400 | #define drive_gen2_i2c_sda_pdd0 DRV_PINGROUP_ENTRY_Y(0x2044, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_gen2_i2c_sda_pdd0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1644:9: note: in expansion of macro 'PINGROUP'
1644 | PINGROUP(gen2_i2c_sda_pdd0, I2C2, RSVD1, RSVD2, RSVD3, 0x2040, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1401:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1401 | #define drive_spi2_sck_pcc0 DRV_PINGROUP_ENTRY_Y(0x204c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_sck_pcc0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1645:9: note: in expansion of macro 'PINGROUP'
1645 | PINGROUP(spi2_sck_pcc0, SPI2, UARTG, RSVD2, RSVD3, 0x2048, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[9].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1401:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1401 | #define drive_spi2_sck_pcc0 DRV_PINGROUP_ENTRY_Y(0x204c, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_sck_pcc0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1645:9: note: in expansion of macro 'PINGROUP'
1645 | PINGROUP(spi2_sck_pcc0, SPI2, UARTG, RSVD2, RSVD3, 0x2048, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1402:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1402 | #define drive_spi2_miso_pcc1 DRV_PINGROUP_ENTRY_Y(0x2054, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_miso_pcc1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1646:9: note: in expansion of macro 'PINGROUP'
1646 | PINGROUP(spi2_miso_pcc1, SPI2, UARTG, RSVD2, RSVD3, 0x2050, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[10].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1402:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1402 | #define drive_spi2_miso_pcc1 DRV_PINGROUP_ENTRY_Y(0x2054, 12, 5, 20, 5, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_spi2_miso_pcc1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1646:9: note: in expansion of macro 'PINGROUP'
1646 | PINGROUP(spi2_miso_pcc1, SPI2, UARTG, RSVD2, RSVD3, 0x2050, 1, Y, 5, -1, 6, 8, -1, 10, 11, 12, N, -1, -1, N, "vddio_ao"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1403:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1403 | #define drive_can1_dout_paa0 DRV_PINGROUP_ENTRY_Y(0x3004, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_dout_paa0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1647:9: note: in expansion of macro 'PINGROUP'
1647 | PINGROUP(can1_dout_paa0, CAN1, RSVD1, RSVD2, RSVD3, 0x3000, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[11].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1403:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1403 | #define drive_can1_dout_paa0 DRV_PINGROUP_ENTRY_Y(0x3004, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_dout_paa0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1647:9: note: in expansion of macro 'PINGROUP'
1647 | PINGROUP(can1_dout_paa0, CAN1, RSVD1, RSVD2, RSVD3, 0x3000, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1404:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1404 | #define drive_can1_din_paa1 DRV_PINGROUP_ENTRY_Y(0x300c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_din_paa1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1648:9: note: in expansion of macro 'PINGROUP'
1648 | PINGROUP(can1_din_paa1, CAN1, RSVD1, RSVD2, RSVD3, 0x3008, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[12].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1404:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1404 | #define drive_can1_din_paa1 DRV_PINGROUP_ENTRY_Y(0x300c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_din_paa1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1648:9: note: in expansion of macro 'PINGROUP'
1648 | PINGROUP(can1_din_paa1, CAN1, RSVD1, RSVD2, RSVD3, 0x3008, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1405:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1405 | #define drive_can0_dout_paa2 DRV_PINGROUP_ENTRY_Y(0x3014, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_dout_paa2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1649:9: note: in expansion of macro 'PINGROUP'
1649 | PINGROUP(can0_dout_paa2, CAN0, RSVD1, RSVD2, RSVD3, 0x3010, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[13].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1405:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1405 | #define drive_can0_dout_paa2 DRV_PINGROUP_ENTRY_Y(0x3014, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_dout_paa2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1649:9: note: in expansion of macro 'PINGROUP'
1649 | PINGROUP(can0_dout_paa2, CAN0, RSVD1, RSVD2, RSVD3, 0x3010, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1406:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1406 | #define drive_can0_din_paa3 DRV_PINGROUP_ENTRY_Y(0x301c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_din_paa3'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1650:9: note: in expansion of macro 'PINGROUP'
1650 | PINGROUP(can0_din_paa3, CAN0, RSVD1, RSVD2, RSVD3, 0x3018, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[14].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1406:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1406 | #define drive_can0_din_paa3 DRV_PINGROUP_ENTRY_Y(0x301c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_din_paa3'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1650:9: note: in expansion of macro 'PINGROUP'
1650 | PINGROUP(can0_din_paa3, CAN0, RSVD1, RSVD2, RSVD3, 0x3018, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1407:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1407 | #define drive_can0_stb_paa4 DRV_PINGROUP_ENTRY_Y(0x3024, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_stb_paa4'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1651:9: note: in expansion of macro 'PINGROUP'
1651 | PINGROUP(can0_stb_paa4, RSVD0, WDT, RSVD2, RSVD3, 0x3020, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[15].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1407:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1407 | #define drive_can0_stb_paa4 DRV_PINGROUP_ENTRY_Y(0x3024, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_stb_paa4'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1651:9: note: in expansion of macro 'PINGROUP'
1651 | PINGROUP(can0_stb_paa4, RSVD0, WDT, RSVD2, RSVD3, 0x3020, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1408:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1408 | #define drive_can0_en_paa5 DRV_PINGROUP_ENTRY_Y(0x302c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_en_paa5'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1652:9: note: in expansion of macro 'PINGROUP'
1652 | PINGROUP(can0_en_paa5, RSVD0, RSVD1, RSVD2, RSVD3, 0x3028, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[16].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1408:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1408 | #define drive_can0_en_paa5 DRV_PINGROUP_ENTRY_Y(0x302c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_en_paa5'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1652:9: note: in expansion of macro 'PINGROUP'
1652 | PINGROUP(can0_en_paa5, RSVD0, RSVD1, RSVD2, RSVD3, 0x3028, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1409:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1409 | #define drive_can0_wake_paa6 DRV_PINGROUP_ENTRY_Y(0x3034, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_wake_paa6'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1653:9: note: in expansion of macro 'PINGROUP'
1653 | PINGROUP(can0_wake_paa6, RSVD0, RSVD1, RSVD2, RSVD3, 0x3030, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[17].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1409:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1409 | #define drive_can0_wake_paa6 DRV_PINGROUP_ENTRY_Y(0x3034, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_wake_paa6'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1653:9: note: in expansion of macro 'PINGROUP'
1653 | PINGROUP(can0_wake_paa6, RSVD0, RSVD1, RSVD2, RSVD3, 0x3030, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1410:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1410 | #define drive_can0_err_paa7 DRV_PINGROUP_ENTRY_Y(0x303c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_err_paa7'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1654:9: note: in expansion of macro 'PINGROUP'
1654 | PINGROUP(can0_err_paa7, RSVD0, RSVD1, RSVD2, RSVD3, 0x3038, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[18].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1410:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1410 | #define drive_can0_err_paa7 DRV_PINGROUP_ENTRY_Y(0x303c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can0_err_paa7'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1654:9: note: in expansion of macro 'PINGROUP'
1654 | PINGROUP(can0_err_paa7, RSVD0, RSVD1, RSVD2, RSVD3, 0x3038, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1411:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1411 | #define drive_can1_stb_pbb0 DRV_PINGROUP_ENTRY_Y(0x3044, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_stb_pbb0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1655:9: note: in expansion of macro 'PINGROUP'
1655 | PINGROUP(can1_stb_pbb0, RSVD0, DMIC3, DMIC5, RSVD3, 0x3040, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[19].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1411:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1411 | #define drive_can1_stb_pbb0 DRV_PINGROUP_ENTRY_Y(0x3044, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_stb_pbb0'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1655:9: note: in expansion of macro 'PINGROUP'
1655 | PINGROUP(can1_stb_pbb0, RSVD0, DMIC3, DMIC5, RSVD3, 0x3040, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1412:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1412 | #define drive_can1_en_pbb1 DRV_PINGROUP_ENTRY_Y(0x304c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_en_pbb1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1656:9: note: in expansion of macro 'PINGROUP'
1656 | PINGROUP(can1_en_pbb1, RSVD0, DMIC3, DMIC5, RSVD3, 0x3048, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[20].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1412:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1412 | #define drive_can1_en_pbb1 DRV_PINGROUP_ENTRY_Y(0x304c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_en_pbb1'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1656:9: note: in expansion of macro 'PINGROUP'
1656 | PINGROUP(can1_en_pbb1, RSVD0, DMIC3, DMIC5, RSVD3, 0x3048, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1413:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1413 | #define drive_can1_wake_pbb2 DRV_PINGROUP_ENTRY_Y(0x3054, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_wake_pbb2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1657:9: note: in expansion of macro 'PINGROUP'
1657 | PINGROUP(can1_wake_pbb2, RSVD0, RSVD1, RSVD2, RSVD3, 0x3050, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[21].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1413:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1413 | #define drive_can1_wake_pbb2 DRV_PINGROUP_ENTRY_Y(0x3054, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_wake_pbb2'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1657:9: note: in expansion of macro 'PINGROUP'
1657 | PINGROUP(can1_wake_pbb2, RSVD0, RSVD1, RSVD2, RSVD3, 0x3050, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1414:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1414 | #define drive_can1_err_pbb3 DRV_PINGROUP_ENTRY_Y(0x305c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_err_pbb3'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1658:9: note: in expansion of macro 'PINGROUP'
1658 | PINGROUP(can1_err_pbb3, RSVD0, RSVD1, RSVD2, RSVD3, 0x3058, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: note: (near initialization for 'tegra194_groups[22].drv_reg')
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1414:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1414 | #define drive_can1_err_pbb3 DRV_PINGROUP_ENTRY_Y(0x305c, 28, 2, 30, 2, -1, -1, -1, -1, 1)
| ^~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1631:17: note: in expansion of macro 'drive_can1_err_pbb3'
1631 | drive_##pg_name, \
| ^~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1658:9: note: in expansion of macro 'PINGROUP'
1658 | PINGROUP(can1_err_pbb3, RSVD0, RSVD1, RSVD2, RSVD3, 0x3058, 1, Y, -1, -1, 6, -1, 9, 10, -1, 12, Y, -1, -1, Y, "vddio_ao_hv"),
| ^~~~~~~~
drivers/pinctrl/tegra/pinctrl-tegra194.c:1341:28: warning: initialized field overwritten [-Woverride-init]
1341 | .drv_reg = ((r)), \
| ^
drivers/pinctrl/tegra/pinctrl-tegra194.c:1415:41: note: in expansion of macro 'DRV_PINGROUP_ENTRY_Y'
1415 | #define drive_soc_gpio33_pt0 DRV_PINGROUP_ENTRY_Y(0x1004, 12, 5, 20, 5, -1, -1, -1, -1, 0)
vim +1341 drivers/pinctrl/tegra/pinctrl-tegra194.c
613c0826081bb4 Prathamesh Shete 2021-10-18 1329
613c0826081bb4 Prathamesh Shete 2021-10-18 1330 #define DRV_PINGROUP_ENTRY_N(pg_name) \
613c0826081bb4 Prathamesh Shete 2021-10-18 1331 .drv_reg = -1, \
613c0826081bb4 Prathamesh Shete 2021-10-18 1332 .drv_bank = -1, \
613c0826081bb4 Prathamesh Shete 2021-10-18 1333 .drvdn_bit = -1, \
613c0826081bb4 Prathamesh Shete 2021-10-18 1334 .drvup_bit = -1, \
613c0826081bb4 Prathamesh Shete 2021-10-18 1335 .slwr_bit = -1, \
613c0826081bb4 Prathamesh Shete 2021-10-18 1336 .slwf_bit = -1
613c0826081bb4 Prathamesh Shete 2021-10-18 1337
6143842823df67 Krishna Yarlagadda 2019-05-16 1338 #define DRV_PINGROUP_ENTRY_Y(r, drvdn_b, drvdn_w, drvup_b, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1339 drvup_w, slwr_b, slwr_w, slwf_b, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1340 slwf_w, bank) \
6143842823df67 Krishna Yarlagadda 2019-05-16 @1341 .drv_reg = ((r)), \
6143842823df67 Krishna Yarlagadda 2019-05-16 1342 .drv_bank = bank, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1343 .drvdn_bit = drvdn_b, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1344 .drvdn_width = drvdn_w, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1345 .drvup_bit = drvup_b, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1346 .drvup_width = drvup_w, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1347 .slwr_bit = slwr_b, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1348 .slwr_width = slwr_w, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1349 .slwf_bit = slwf_b, \
6143842823df67 Krishna Yarlagadda 2019-05-16 1350 .slwf_width = slwf_w
6143842823df67 Krishna Yarlagadda 2019-05-16 1351
:::::: The code at line 1341 was first introduced by commit
:::::: 6143842823df676bfc0011c39862361dd0389b46 pinctrl: tegra: Add Tegra194 pinmux driver
:::::: TO: Krishna Yarlagadda <kyarlagadda(a)nvidia.com>
:::::: CC: Linus Walleij <linus.walleij(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[jpirko-mlxsw:petrm_soft_counters 7/7] net/core/rtnetlink.c:5101:15: error: unused variable 'size'
by kernel test robot
tree: https://github.com/jpirko/linux_mlxsw petrm_soft_counters
head: d35d00a6d28ff7a34145438df3a2b39abd00edc3
commit: d35d00a6d28ff7a34145438df3a2b39abd00edc3 [7/7] wip
config: riscv-buildonly-randconfig-r002-20211111 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c3dddeeafb529e769cde87bd29ef6271ac6bfa5c)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/jpirko/linux_mlxsw/commit/d35d00a6d28ff7a34145438df3a2...
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw petrm_soft_counters
git checkout d35d00a6d28ff7a34145438df3a2b39abd00edc3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> net/core/rtnetlink.c:5101:15: error: unused variable 'size' [-Werror,-Wunused-variable]
unsigned int size = info->get_size(info, dev);
^
1 error generated.
vim +/size +5101 net/core/rtnetlink.c
5095
5096 static int
5097 rtnl_offload_xstats_fill_hw_stats(const struct rtnl_offload_xstats_info *info,
5098 struct net_device *dev, struct sk_buff *skb,
5099 struct netlink_ext_ack *extack)
5100 {
> 5101 unsigned int size = info->get_size(info, dev);
5102 enum netdev_hw_stats_type used_hw_stats = 0;
5103 struct rtnl_link_stats64 stats;
5104 struct nlattr *nest;
5105 int err;
5106
5107 nest = nla_nest_start_noflag(skb, info->attr_id);
5108 if (!nest)
5109 return -EMSGSIZE;
5110
5111 if (dev->offload_hw_stats) {
5112 err = netdev_offload_xstats_hw_stats_get(dev, &stats,
5113 &used_hw_stats,
5114 extack);
5115 if (err)
5116 goto nla_put_failure;
5117
5118 if (nla_put_64bit(skb, IFLA_OFFLOAD_XSTATS_HW_STATS_STATS,
5119 sizeof(stats), &stats,
5120 IFLA_OFFLOAD_XSTATS_UNSPEC))
5121 goto nla_put_failure;
5122 }
5123
5124 if (nla_put_bitfield32(skb, IFLA_OFFLOAD_XSTATS_HW_STATS_USED_TYPE,
5125 used_hw_stats, IFLA_HW_STATS_ANY))
5126 goto nla_put_failure;
5127
5128 nla_nest_end(skb, nest);
5129 return 0;
5130
5131 nla_put_failure:
5132 nla_nest_cancel(skb, nest);
5133 return -EMSGSIZE;
5134 }
5135
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[jpirko-mlxsw:petrm_soft_counters 7/7] net/core/rtnetlink.c:5101:22: error: unused variable 'size'
by kernel test robot
tree: https://github.com/jpirko/linux_mlxsw petrm_soft_counters
head: d35d00a6d28ff7a34145438df3a2b39abd00edc3
commit: d35d00a6d28ff7a34145438df3a2b39abd00edc3 [7/7] wip
config: openrisc-buildonly-randconfig-r003-20211111 (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.0
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
# https://github.com/jpirko/linux_mlxsw/commit/d35d00a6d28ff7a34145438df3a2...
git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
git fetch --no-tags jpirko-mlxsw petrm_soft_counters
git checkout d35d00a6d28ff7a34145438df3a2b39abd00edc3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
net/core/rtnetlink.c: In function 'rtnl_offload_xstats_fill_hw_stats':
>> net/core/rtnetlink.c:5101:22: error: unused variable 'size' [-Werror=unused-variable]
5101 | unsigned int size = info->get_size(info, dev);
| ^~~~
cc1: all warnings being treated as errors
vim +/size +5101 net/core/rtnetlink.c
5095
5096 static int
5097 rtnl_offload_xstats_fill_hw_stats(const struct rtnl_offload_xstats_info *info,
5098 struct net_device *dev, struct sk_buff *skb,
5099 struct netlink_ext_ack *extack)
5100 {
> 5101 unsigned int size = info->get_size(info, dev);
5102 enum netdev_hw_stats_type used_hw_stats = 0;
5103 struct rtnl_link_stats64 stats;
5104 struct nlattr *nest;
5105 int err;
5106
5107 nest = nla_nest_start_noflag(skb, info->attr_id);
5108 if (!nest)
5109 return -EMSGSIZE;
5110
5111 if (dev->offload_hw_stats) {
5112 err = netdev_offload_xstats_hw_stats_get(dev, &stats,
5113 &used_hw_stats,
5114 extack);
5115 if (err)
5116 goto nla_put_failure;
5117
5118 if (nla_put_64bit(skb, IFLA_OFFLOAD_XSTATS_HW_STATS_STATS,
5119 sizeof(stats), &stats,
5120 IFLA_OFFLOAD_XSTATS_UNSPEC))
5121 goto nla_put_failure;
5122 }
5123
5124 if (nla_put_bitfield32(skb, IFLA_OFFLOAD_XSTATS_HW_STATS_USED_TYPE,
5125 used_hw_stats, IFLA_HW_STATS_ANY))
5126 goto nla_put_failure;
5127
5128 nla_nest_end(skb, nest);
5129 return 0;
5130
5131 nla_put_failure:
5132 nla_nest_cancel(skb, nest);
5133 return -EMSGSIZE;
5134 }
5135
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
drivers/message/fusion/mptlan.c:1234:52: sparse: sparse: incorrect type in assignment (different base types)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: 4e2e619f3c9e3c49859f085995554a53e9fc0e02 scsi: message: mptlan: Replace one-element array with flexible-array member
date: 8 months ago
config: riscv-randconfig-s031-20211109 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 11.2.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.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 4e2e619f3c9e3c49859f085995554a53e9fc0e02
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/message/fusion/mptlan.c:1172:21: sparse: sparse: cast to restricted __le16
>> drivers/message/fusion/mptlan.c:1234:52: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] TransactionContext @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:1234:52: sparse: expected unsigned int [usertype] TransactionContext
drivers/message/fusion/mptlan.c:1234:52: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:1238:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] FlagsLength @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:1238:46: sparse: expected unsigned int [usertype] FlagsLength
drivers/message/fusion/mptlan.c:1238:46: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:1242:46: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] Low @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:1242:46: sparse: expected unsigned int [usertype] Low
drivers/message/fusion/mptlan.c:1242:46: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:1244:55: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] High @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:1244:55: sparse: expected unsigned int [usertype] High
drivers/message/fusion/mptlan.c:1244:55: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:1258:38: sparse: sparse: invalid assignment: |=
drivers/message/fusion/mptlan.c:1258:38: sparse: left side has type unsigned int
drivers/message/fusion/mptlan.c:1258:38: sparse: right side has type restricted __le32
drivers/message/fusion/mptlan.c:1260:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] BucketCount @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:1260:39: sparse: expected unsigned int [usertype] BucketCount
drivers/message/fusion/mptlan.c:1260:39: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:964:25: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:969:9: sparse: sparse: cast to restricted __le16
drivers/message/fusion/mptlan.c:972:14: sparse: sparse: cast to restricted __le16
drivers/message/fusion/mptlan.c:976:15: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:982:53: sparse: sparse: cast to restricted __le16
drivers/message/fusion/mptlan.c:986:18: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:990:18: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:1020:31: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:612:9: sparse: sparse: cast to restricted __le16
drivers/message/fusion/mptlan.c:617:17: sparse: sparse: cast to restricted __le16
drivers/message/fusion/mptlan.c:641:23: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:346:17: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:1492:27: sparse: sparse: restricted __be16 degrades to integer
drivers/message/fusion/mptlan.c:1529:29: sparse: sparse: incorrect type in return expression (different base types) @@ expected unsigned short @@ got restricted __be16 [usertype] ethertype @@
drivers/message/fusion/mptlan.c:1529:29: sparse: expected unsigned short
drivers/message/fusion/mptlan.c:1529:29: sparse: got restricted __be16 [usertype] ethertype
drivers/message/fusion/mptlan.c:1532:16: sparse: sparse: incorrect type in return expression (different base types) @@ expected unsigned short @@ got restricted __be16 [usertype] @@
drivers/message/fusion/mptlan.c:1532:16: sparse: expected unsigned short
drivers/message/fusion/mptlan.c:1532:16: sparse: got restricted __be16 [usertype]
drivers/message/fusion/mptlan.c:745:36: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] TransactionContext @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:745:36: sparse: expected unsigned int [usertype] TransactionContext
drivers/message/fusion/mptlan.c:745:36: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:753:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:753:39: sparse: expected unsigned int
drivers/message/fusion/mptlan.c:753:39: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:756:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:756:39: sparse: expected unsigned int
drivers/message/fusion/mptlan.c:756:39: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:766:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] FlagsLength @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:766:30: sparse: expected unsigned int [usertype] FlagsLength
drivers/message/fusion/mptlan.c:766:30: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:775:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] Low @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:775:30: sparse: expected unsigned int [usertype] Low
drivers/message/fusion/mptlan.c:775:30: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:777:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] High @@ got restricted __le32 [usertype] @@
drivers/message/fusion/mptlan.c:777:39: sparse: expected unsigned int [usertype] High
drivers/message/fusion/mptlan.c:777:39: sparse: got restricted __le32 [usertype]
drivers/message/fusion/mptlan.c:784:9: sparse: sparse: cast to restricted __le32
drivers/message/fusion/mptlan.c:819:23: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 [usertype] protocol @@ got unsigned short @@
drivers/message/fusion/mptlan.c:819:23: sparse: expected restricted __be16 [usertype] protocol
drivers/message/fusion/mptlan.c:819:23: sparse: got unsigned short
drivers/message/fusion/mptlan.c:919:23: sparse: sparse: cast to restricted __le32
vim +1234 drivers/message/fusion/mptlan.c
1134
1135 static void
1136 mpt_lan_post_receive_buckets(struct mpt_lan_priv *priv)
1137 {
1138 struct net_device *dev = priv->dev;
1139 MPT_ADAPTER *mpt_dev = priv->mpt_dev;
1140 MPT_FRAME_HDR *mf;
1141 LANReceivePostRequest_t *pRecvReq;
1142 SGETransaction32_t *pTrans;
1143 SGESimple64_t *pSimple;
1144 struct sk_buff *skb;
1145 dma_addr_t dma;
1146 u32 curr, buckets, count, max;
1147 u32 len = (dev->mtu + dev->hard_header_len + 4);
1148 unsigned long flags;
1149 int i;
1150
1151 curr = atomic_read(&priv->buckets_out);
1152 buckets = (priv->max_buckets_out - curr);
1153
1154 dioprintk((KERN_INFO MYNAM ": %s/%s: @%s, Start_buckets = %u, buckets_out = %u\n",
1155 IOC_AND_NETDEV_NAMES_s_s(dev),
1156 __func__, buckets, curr));
1157
1158 max = (mpt_dev->req_sz - MPT_LAN_RECEIVE_POST_REQUEST_SIZE) /
1159 (sizeof(SGETransaction32_t) + sizeof(SGESimple64_t));
1160
1161 while (buckets) {
1162 mf = mpt_get_msg_frame(LanCtx, mpt_dev);
1163 if (mf == NULL) {
1164 printk (KERN_ERR "%s: Unable to alloc request frame\n",
1165 __func__);
1166 dioprintk((KERN_ERR "%s: %u buckets remaining\n",
1167 __func__, buckets));
1168 goto out;
1169 }
1170 pRecvReq = (LANReceivePostRequest_t *) mf;
1171
1172 i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx);
1173 mpt_dev->RequestNB[i] = 0;
1174 count = buckets;
1175 if (count > max)
1176 count = max;
1177
1178 pRecvReq->Function = MPI_FUNCTION_LAN_RECEIVE;
1179 pRecvReq->ChainOffset = 0;
1180 pRecvReq->MsgFlags = 0;
1181 pRecvReq->PortNumber = priv->pnum;
1182
1183 pTrans = (SGETransaction32_t *) pRecvReq->SG_List;
1184 pSimple = NULL;
1185
1186 for (i = 0; i < count; i++) {
1187 int ctx;
1188
1189 spin_lock_irqsave(&priv->rxfidx_lock, flags);
1190 if (priv->mpt_rxfidx_tail < 0) {
1191 printk (KERN_ERR "%s: Can't alloc context\n",
1192 __func__);
1193 spin_unlock_irqrestore(&priv->rxfidx_lock,
1194 flags);
1195 break;
1196 }
1197
1198 ctx = priv->mpt_rxfidx[priv->mpt_rxfidx_tail--];
1199
1200 skb = priv->RcvCtl[ctx].skb;
1201 if (skb && (priv->RcvCtl[ctx].len != len)) {
1202 pci_unmap_single(mpt_dev->pcidev,
1203 priv->RcvCtl[ctx].dma,
1204 priv->RcvCtl[ctx].len,
1205 PCI_DMA_FROMDEVICE);
1206 dev_kfree_skb(priv->RcvCtl[ctx].skb);
1207 skb = priv->RcvCtl[ctx].skb = NULL;
1208 }
1209
1210 if (skb == NULL) {
1211 skb = dev_alloc_skb(len);
1212 if (skb == NULL) {
1213 printk (KERN_WARNING
1214 MYNAM "/%s: Can't alloc skb\n",
1215 __func__);
1216 priv->mpt_rxfidx[++priv->mpt_rxfidx_tail] = ctx;
1217 spin_unlock_irqrestore(&priv->rxfidx_lock, flags);
1218 break;
1219 }
1220
1221 dma = pci_map_single(mpt_dev->pcidev, skb->data,
1222 len, PCI_DMA_FROMDEVICE);
1223
1224 priv->RcvCtl[ctx].skb = skb;
1225 priv->RcvCtl[ctx].dma = dma;
1226 priv->RcvCtl[ctx].len = len;
1227 }
1228
1229 spin_unlock_irqrestore(&priv->rxfidx_lock, flags);
1230
1231 pTrans->ContextSize = sizeof(u32);
1232 pTrans->DetailsLength = 0;
1233 pTrans->Flags = 0;
> 1234 pTrans->TransactionContext = cpu_to_le32(ctx);
1235
1236 pSimple = (SGESimple64_t *) pTrans->TransactionDetails;
1237
1238 pSimple->FlagsLength = cpu_to_le32(
1239 ((MPI_SGE_FLAGS_END_OF_BUFFER |
1240 MPI_SGE_FLAGS_SIMPLE_ELEMENT |
1241 MPI_SGE_FLAGS_64_BIT_ADDRESSING) << MPI_SGE_FLAGS_SHIFT) | len);
1242 pSimple->Address.Low = cpu_to_le32((u32) priv->RcvCtl[ctx].dma);
1243 if (sizeof(dma_addr_t) > sizeof(u32))
1244 pSimple->Address.High = cpu_to_le32((u32) ((u64) priv->RcvCtl[ctx].dma >> 32));
1245 else
1246 pSimple->Address.High = 0;
1247
1248 pTrans = (SGETransaction32_t *) (pSimple + 1);
1249 }
1250
1251 if (pSimple == NULL) {
1252 /**/ printk (KERN_WARNING MYNAM "/%s: No buckets posted\n",
1253 /**/ __func__);
1254 mpt_free_msg_frame(mpt_dev, mf);
1255 goto out;
1256 }
1257
1258 pSimple->FlagsLength |= cpu_to_le32(MPI_SGE_FLAGS_END_OF_LIST << MPI_SGE_FLAGS_SHIFT);
1259
1260 pRecvReq->BucketCount = cpu_to_le32(i);
1261
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
【Amazon】アカウント情報を確認してください
by Amazon.co.jp
Amazon お客様
平素は、Amazonをご利用いただき、誠にありがとうございます。
このたび、ご本人様のご利用かどうかを確認させていただきたいお取引がありましたので、誠に勝手ながら、Amazonのご利用を一部制限させていただき、ご連絡させていただきました。
つきましては、以下へアクセスの上、Amazonのご利用確認にご協力をお願い致します。
ご回答をいただけない場合、Amazonのご利用制限が継続されることもございますので、予めご了承ください。
ご不便とご心配をおかけしまして誠に申し訳ございませんが、何卒ご理解いただきたくお願い申し上げます。
お客様の Amazon アカウント
アカウント所有権の証明をご自身で行う場合は、Amazon 管理コンソールにログインし、所定の手順でお手続きください。アカウント所有権の証明についてのヘルプセンター記事も併せてご参照ください。
状態:
異常は更新待ちです
Amazonクリック&ログイン
Amazonのまたのご利用をお待ちしております。
© 1996-2021, Amazon. Inc. or its affiliates
10 months, 1 week
[android-common:android-4.19-stable 15107/24076] drivers/nvmem/core.c:347:5: warning: no previous prototype for 'nvmem_add_cells'
by kernel test robot
tree: https://android.googlesource.com/kernel/common android-4.19-stable
head: a513b1ef96dcd295f77365400c8574d930c7662e
commit: e96a10625581a499e8a4218ef504f3f53918408b [15107/24076] UPSTREAM: nvmem: add support for cell info
config: i386-randconfig-r036-20210929 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.19-stable
git checkout e96a10625581a499e8a4218ef504f3f53918408b
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/nvmem/core.c:347:5: warning: no previous prototype for 'nvmem_add_cells' [-Wmissing-prototypes]
347 | int nvmem_add_cells(struct nvmem_device *nvmem,
| ^~~~~~~~~~~~~~~
vim +/nvmem_add_cells +347 drivers/nvmem/core.c
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 337
b3db17e4b864e4 Andrew Lunn 2018-05-11 338 /**
b3db17e4b864e4 Andrew Lunn 2018-05-11 339 * nvmem_add_cells() - Add cell information to an nvmem device
b3db17e4b864e4 Andrew Lunn 2018-05-11 340 *
b3db17e4b864e4 Andrew Lunn 2018-05-11 341 * @nvmem: nvmem device to add cells to.
b3db17e4b864e4 Andrew Lunn 2018-05-11 342 * @info: nvmem cell info to add to the device
b3db17e4b864e4 Andrew Lunn 2018-05-11 343 * @ncells: number of cells in info
b3db17e4b864e4 Andrew Lunn 2018-05-11 344 *
b3db17e4b864e4 Andrew Lunn 2018-05-11 345 * Return: 0 or negative error code on failure.
b3db17e4b864e4 Andrew Lunn 2018-05-11 346 */
b3db17e4b864e4 Andrew Lunn 2018-05-11 @347 int nvmem_add_cells(struct nvmem_device *nvmem,
b3db17e4b864e4 Andrew Lunn 2018-05-11 348 const struct nvmem_cell_info *info,
b3db17e4b864e4 Andrew Lunn 2018-05-11 349 int ncells)
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 350 {
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 351 struct nvmem_cell **cells;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 352 int i, rval;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 353
b3db17e4b864e4 Andrew Lunn 2018-05-11 354 cells = kcalloc(ncells, sizeof(*cells), GFP_KERNEL);
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 355 if (!cells)
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 356 return -ENOMEM;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 357
b3db17e4b864e4 Andrew Lunn 2018-05-11 358 for (i = 0; i < ncells; i++) {
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 359 cells[i] = kzalloc(sizeof(**cells), GFP_KERNEL);
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 360 if (!cells[i]) {
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 361 rval = -ENOMEM;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 362 goto err;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 363 }
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 364
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 365 rval = nvmem_cell_info_to_nvmem_cell(nvmem, &info[i], cells[i]);
287980e49ffc0f Arnd Bergmann 2016-05-27 366 if (rval) {
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 367 kfree(cells[i]);
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 368 goto err;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 369 }
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 370
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 371 nvmem_cell_add(cells[i]);
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 372 }
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 373
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 374 /* remove tmp array */
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 375 kfree(cells);
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 376
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 377 return 0;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 378 err:
dfdf141429f089 Rasmus Villemoes 2016-02-08 379 while (i--)
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 380 nvmem_cell_drop(cells[i]);
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 381
dfdf141429f089 Rasmus Villemoes 2016-02-08 382 kfree(cells);
dfdf141429f089 Rasmus Villemoes 2016-02-08 383
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 384 return rval;
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 385 }
b3db17e4b864e4 Andrew Lunn 2018-05-11 386 EXPORT_SYMBOL_GPL(nvmem_add_cells);
eace75cfdcf7d9 Srinivas Kandagatla 2015-07-27 387
:::::: The code at line 347 was first introduced by commit
:::::: b3db17e4b864e46ad150ebef69c0e0130a1c5fca drivers: nvmem: Export nvmem_add_cells()
:::::: TO: Andrew Lunn <andrew(a)lunn.ch>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:858:6: warning: no previous prototype for 'amdgpu_ras_mca_query_error_status'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7246f4dcaccc8de76a96a41359d89c3c791579bc
commit: 640ae42efb828be69a9ee6ac88fb3d5a3e678ddf drm/amdgpu: Updated RAS infrastructure
date: 7 weeks ago
config: alpha-buildonly-randconfig-r003-20210928 (attached as .config)
compiler: alpha-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 640ae42efb828be69a9ee6ac88fb3d5a3e678ddf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:858:6: warning: no previous prototype for 'amdgpu_ras_mca_query_error_status' [-Wmissing-prototypes]
858 | void amdgpu_ras_mca_query_error_status(struct amdgpu_device *adev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/amdgpu_ras_mca_query_error_status +858 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
856
857
> 858 void amdgpu_ras_mca_query_error_status(struct amdgpu_device *adev,
859 struct ras_common_if *ras_block,
860 struct ras_err_data *err_data)
861 {
862 switch (ras_block->sub_block_index) {
863 case AMDGPU_RAS_MCA_BLOCK__MP0:
864 if (adev->mca.mp0.ras_funcs &&
865 adev->mca.mp0.ras_funcs->query_ras_error_count)
866 adev->mca.mp0.ras_funcs->query_ras_error_count(adev, &err_data);
867 break;
868 case AMDGPU_RAS_MCA_BLOCK__MP1:
869 if (adev->mca.mp1.ras_funcs &&
870 adev->mca.mp1.ras_funcs->query_ras_error_count)
871 adev->mca.mp1.ras_funcs->query_ras_error_count(adev, &err_data);
872 break;
873 case AMDGPU_RAS_MCA_BLOCK__MPIO:
874 if (adev->mca.mpio.ras_funcs &&
875 adev->mca.mpio.ras_funcs->query_ras_error_count)
876 adev->mca.mpio.ras_funcs->query_ras_error_count(adev, &err_data);
877 break;
878 default:
879 break;
880 }
881 }
882
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[freescale-fslc:5.10-2.1.x-imx 13106/15242] drivers/firmware/imx/s400-api.c:446:24: warning: cast to pointer from integer of different size
by kernel test robot
Hi Pankaj,
FYI, the error/warning still remains.
tree: https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head: 3b81a70be1099d44fdafaa6766bf75a2bd9e297e
commit: a2200b05f4efbd789c8dc61bfcde03931ac058bf [13106/15242] MLK25252: S4_MUAP: added support for image authentication
config: parisc-randconfig-r036-20211004 (attached as .config)
compiler: hppa-linux-gcc (GCC) 11.2.0
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
# https://github.com/Freescale/linux-fslc/commit/a2200b05f4efbd789c8dc61bfc...
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.10-2.1.x-imx
git checkout a2200b05f4efbd789c8dc61bfcde03931ac058bf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/firmware/imx/s400-api.c:245:16: warning: no previous prototype for 'imx_soc_device_register' [-Wmissing-prototypes]
245 | struct device *imx_soc_device_register(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/firmware/imx/s400-api.c: In function 's4_muap_ioctl_img_auth_cmd_handler':
>> drivers/firmware/imx/s400-api.c:446:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
446 | memcpy((void *)img->dst, (const void *)(img->offset + phdr),
| ^
drivers/firmware/imx/s400-api.c:452:17: error: implicit declaration of function '__flush_dcache_area'; did you mean 'flush_dcache_page'? [-Werror=implicit-function-declaration]
452 | __flush_dcache_area((void *) s, e);
| ^~~~~~~~~~~~~~~~~~~
| flush_dcache_page
cc1: some warnings being treated as errors
vim +446 drivers/firmware/imx/s400-api.c
338
339 static int s4_muap_ioctl_get_info(struct s4_mu_device_ctx *dev_ctx,
340 unsigned long arg)
341 {
342 struct imx_s400_api *s400_muap_priv = dev_ctx->s400_muap_priv;
343 struct s4_read_info info;
344
345 int ret = -EINVAL;
346
347 ret = (int)copy_from_user(&info, (u8 *)arg,
348 sizeof(info));
349 if (ret) {
350 devctx_err(dev_ctx, "Fail copy shared memory config to user\n");
351 ret = -EFAULT;
352 goto exit;
353 }
354
355 s400_muap_priv->tx_msg.header = (s400_muap_priv->cmd_tag << 24) |
356 (info.cmd_id << 16) |
357 (info.size << 8) |
358 S400_VERSION;
359
360 ret = imx_s400_api_call(s400_muap_priv, (void *) &info.resp);
361 if (ret) {
362 devctx_err(dev_ctx, "%s: imx_s400_api_call failed for cmd [0x%x]\n",
363 __func__, info.cmd_id);
364 ret = -EIO;
365 }
366
367 ret = (int)copy_to_user((u8 *)arg, &info,
368 sizeof(info));
369 if (ret) {
370 devctx_err(dev_ctx, "Failed to copy iobuff setup to user\n");
371 ret = -EFAULT;
372 }
373
374 exit:
375 return ret;
376 }
377 static int s4_muap_ioctl_img_auth_cmd_handler(struct s4_mu_device_ctx *dev_ctx,
378 unsigned long arg)
379 {
380 struct imx_s400_api *s400_muap_priv = dev_ctx->s400_muap_priv;
381 struct s4_muap_auth_image s4_muap_auth_image;
382 struct container_hdr *phdr = &s4_muap_auth_image.chdr;
383 struct image_info *img = &s4_muap_auth_image.img_info[0];
384 unsigned long base_addr = (unsigned long) &s4_muap_auth_image;
385
386 int i;
387 u16 length;
388 unsigned long s, e;
389 int ret = -EINVAL;
390
391 /* Check if not already configured. */
392 if (dev_ctx->secure_mem.dma_addr != 0u) {
393 devctx_err(dev_ctx, "Shared memory not configured\n");
394 goto exit;
395 }
396
397 ret = (int)copy_from_user(&s4_muap_auth_image, (u8 *)arg,
398 sizeof(s4_muap_auth_image));
399 if (ret) {
400 devctx_err(dev_ctx, "Fail copy shared memory config to user\n");
401 ret = -EFAULT;
402 goto exit;
403 }
404
405
406 if (!IS_ALIGNED(base_addr, 4)) {
407 devctx_err(dev_ctx, "Error: Image's address is not 4 byte aligned\n");
408 return -EINVAL;
409 }
410
411 if (phdr->tag != 0x87 && phdr->version != 0x0) {
412 devctx_err(dev_ctx, "Error: Wrong container header\n");
413 return -EFAULT;
414 }
415
416 if (!phdr->num_images) {
417 devctx_err(dev_ctx, "Error: Wrong container, no image found\n");
418 return -EFAULT;
419 }
420 length = phdr->length_lsb + (phdr->length_msb << 8);
421
422 devctx_dbg(dev_ctx, "container length %u\n", length);
423
424 s400_muap_priv->tx_msg.header = (s400_muap_priv->cmd_tag << 24) |
425 (S400_OEM_CNTN_AUTH_REQ << 16) |
426 (S400_OEM_CNTN_AUTH_REQ_SIZE << 8) |
427 S400_VERSION;
428 s400_muap_priv->tx_msg.data[0] = ((u32)(((base_addr) >> 16) >> 16));
429 s400_muap_priv->tx_msg.data[1] = ((u32)(base_addr));
430
431 ret = imx_s400_api_call(s400_muap_priv, (void *) &s4_muap_auth_image.resp);
432 if (ret || (s4_muap_auth_image.resp != S400_SUCCESS_IND)) {
433 devctx_err(dev_ctx, "Error: Container Authentication failed.\n");
434 ret = -EIO;
435 goto exit;
436 }
437
438 /* Copy images to dest address */
439 for (i = 0; i < phdr->num_images; i++) {
440 img = img + i;
441
442 //devctx_dbg(dev_ctx, "img %d, dst 0x%x, src 0x%lux, size 0x%x\n",
443 // i, (u32) img->dst,
444 // (unsigned long)img->offset + phdr, img->size);
445
> 446 memcpy((void *)img->dst, (const void *)(img->offset + phdr),
447 img->size);
448
449 s = img->dst & ~(CACHELINE_SIZE - 1);
450 e = ALIGN(img->dst + img->size, CACHELINE_SIZE) - 1;
451
452 __flush_dcache_area((void *) s, e);
453 s400_muap_priv->tx_msg.header = (s400_muap_priv->cmd_tag << 24) |
454 (S400_VERIFY_IMAGE_REQ << 16) |
455 (S400_VERIFY_IMAGE_REQ_SIZE << 8) |
456 S400_VERSION;
457 s400_muap_priv->tx_msg.data[0] = 1 << i;
458 ret = imx_s400_api_call(s400_muap_priv, (void *) &s4_muap_auth_image.resp);
459 if (ret || (s4_muap_auth_image.resp != S400_SUCCESS_IND)) {
460 devctx_err(dev_ctx, "Error: Image Verification failed.\n");
461 ret = -EIO;
462 goto exit;
463 }
464 }
465
466 exit:
467 s400_muap_priv->tx_msg.header = (s400_muap_priv->cmd_tag << 24) |
468 (S400_RELEASE_CONTAINER_REQ << 16) |
469 (S400_RELEASE_CONTAINER_REQ_SIZE << 8) |
470 S400_VERSION;
471 ret = imx_s400_api_call(s400_muap_priv, (void *) &s4_muap_auth_image.resp);
472 if (ret || (s4_muap_auth_image.resp != S400_SUCCESS_IND)) {
473 devctx_err(dev_ctx, "Error: Release Container failed.\n");
474 ret = -EIO;
475 }
476
477 ret = (int)copy_to_user((u8 *)arg, &s4_muap_auth_image,
478 sizeof(s4_muap_auth_image));
479 if (ret) {
480 devctx_err(dev_ctx, "Failed to copy iobuff setup to user\n");
481 ret = -EFAULT;
482 }
483 return ret;
484 }
485
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week