* [sashal-linux-stable:pending-5.10 463/598] drivers/iio/imu/adis16475.c:607:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
@ 2021-07-11 6:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-11 6:25 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 32341 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git pending-5.10
head: b2dc84ee261d4651c10723b81720792ff6db40fb
commit: aa8fd441c6fea5188223e742f6bf5a0c21e772d2 [463/598] iio: adis16475: do not directly change spi 'max_speed_hz'
config: mips-randconfig-r021-20210711 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=aa8fd441c6fea5188223e742f6bf5a0c21e772d2
git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable pending-5.10
git checkout aa8fd441c6fea5188223e742f6bf5a0c21e772d2
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/iio/imu/
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/iio/imu/adis16475.c:607:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16470, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:622:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16475, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:637:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16475, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:652:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16475, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:667:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:682:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:697:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:712:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16465, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:727:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16465, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:742:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16465, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:757:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16467, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:772:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16467, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:787:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16467, &adis16475_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:804:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16500, &adis1650x_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:821:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16505, &adis1650x_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:838:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16505, &adis1650x_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
^
drivers/iio/imu/adis16475.c:855:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data'
.adis_data = ADIS16475_DATA(16505, &adis1650x_timeouts),
^
drivers/iio/imu/adis16475.c:571:3: note: expanded from macro 'ADIS16475_DATA'
.burst_max_speed_hz = ADIS16475_BURST_MAX_SPEED \
vim +607 drivers/iio/imu/adis16475.c
fff7352bf7a3ce Nuno Sá 2020-04-13 592
fff7352bf7a3ce Nuno Sá 2020-04-13 593 static const struct adis16475_chip_info adis16475_chip_info[] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 594 [ADIS16470] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 595 .name = "adis16470",
fff7352bf7a3ce Nuno Sá 2020-04-13 596 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 597 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 598 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 599 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 600 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 601 .accel_max_scale = IIO_M_S_2_TO_G(800 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 602 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 603 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 604 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 605 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 606 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 @607 .adis_data = ADIS16475_DATA(16470, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 608 },
fff7352bf7a3ce Nuno Sá 2020-04-13 609 [ADIS16475_1] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 610 .name = "adis16475-1",
fff7352bf7a3ce Nuno Sá 2020-04-13 611 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 612 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 613 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 614 .gyro_max_scale = IIO_RAD_TO_DEGREE(160 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 615 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 616 .accel_max_scale = IIO_M_S_2_TO_G(4000 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 617 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 618 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 619 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 620 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 621 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 622 .adis_data = ADIS16475_DATA(16475, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 623 },
fff7352bf7a3ce Nuno Sá 2020-04-13 624 [ADIS16475_2] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 625 .name = "adis16475-2",
fff7352bf7a3ce Nuno Sá 2020-04-13 626 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 627 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 628 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 629 .gyro_max_scale = IIO_RAD_TO_DEGREE(40 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 630 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 631 .accel_max_scale = IIO_M_S_2_TO_G(4000 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 632 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 633 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 634 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 635 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 636 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 637 .adis_data = ADIS16475_DATA(16475, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 638 },
fff7352bf7a3ce Nuno Sá 2020-04-13 639 [ADIS16475_3] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 640 .name = "adis16475-3",
fff7352bf7a3ce Nuno Sá 2020-04-13 641 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 642 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 643 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 644 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 645 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 646 .accel_max_scale = IIO_M_S_2_TO_G(4000 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 647 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 648 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 649 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 650 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 651 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 652 .adis_data = ADIS16475_DATA(16475, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 653 },
fff7352bf7a3ce Nuno Sá 2020-04-13 654 [ADIS16477_1] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 655 .name = "adis16477-1",
fff7352bf7a3ce Nuno Sá 2020-04-13 656 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 657 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 658 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 659 .gyro_max_scale = IIO_RAD_TO_DEGREE(160 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 660 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 661 .accel_max_scale = IIO_M_S_2_TO_G(800 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 662 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 663 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 664 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 665 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 666 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 667 .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 668 },
fff7352bf7a3ce Nuno Sá 2020-04-13 669 [ADIS16477_2] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 670 .name = "adis16477-2",
fff7352bf7a3ce Nuno Sá 2020-04-13 671 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 672 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 673 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 674 .gyro_max_scale = IIO_RAD_TO_DEGREE(40 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 675 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 676 .accel_max_scale = IIO_M_S_2_TO_G(800 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 677 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 678 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 679 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 680 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 681 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 682 .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 683 },
fff7352bf7a3ce Nuno Sá 2020-04-13 684 [ADIS16477_3] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 685 .name = "adis16477-3",
fff7352bf7a3ce Nuno Sá 2020-04-13 686 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 687 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 688 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 689 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 690 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 691 .accel_max_scale = IIO_M_S_2_TO_G(800 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 692 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 693 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 694 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 695 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 696 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 697 .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 698 },
fff7352bf7a3ce Nuno Sá 2020-04-13 699 [ADIS16465_1] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 700 .name = "adis16465-1",
fff7352bf7a3ce Nuno Sá 2020-04-13 701 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 702 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 703 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 704 .gyro_max_scale = IIO_RAD_TO_DEGREE(160 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 705 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 706 .accel_max_scale = IIO_M_S_2_TO_G(4000 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 707 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 708 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 709 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 710 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 711 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 712 .adis_data = ADIS16475_DATA(16465, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 713 },
fff7352bf7a3ce Nuno Sá 2020-04-13 714 [ADIS16465_2] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 715 .name = "adis16465-2",
fff7352bf7a3ce Nuno Sá 2020-04-13 716 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 717 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 718 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 719 .gyro_max_scale = IIO_RAD_TO_DEGREE(40 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 720 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 721 .accel_max_scale = IIO_M_S_2_TO_G(4000 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 722 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 723 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 724 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 725 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 726 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 727 .adis_data = ADIS16475_DATA(16465, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 728 },
fff7352bf7a3ce Nuno Sá 2020-04-13 729 [ADIS16465_3] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 730 .name = "adis16465-3",
fff7352bf7a3ce Nuno Sá 2020-04-13 731 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 732 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 733 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 734 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 735 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 736 .accel_max_scale = IIO_M_S_2_TO_G(4000 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 737 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 738 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 739 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 740 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 741 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 742 .adis_data = ADIS16475_DATA(16465, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 743 },
fff7352bf7a3ce Nuno Sá 2020-04-13 744 [ADIS16467_1] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 745 .name = "adis16467-1",
fff7352bf7a3ce Nuno Sá 2020-04-13 746 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 747 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 748 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 749 .gyro_max_scale = IIO_RAD_TO_DEGREE(160 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 750 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 751 .accel_max_scale = IIO_M_S_2_TO_G(800 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 752 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 753 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 754 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 755 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 756 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 757 .adis_data = ADIS16475_DATA(16467, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 758 },
fff7352bf7a3ce Nuno Sá 2020-04-13 759 [ADIS16467_2] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 760 .name = "adis16467-2",
fff7352bf7a3ce Nuno Sá 2020-04-13 761 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 762 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 763 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 764 .gyro_max_scale = IIO_RAD_TO_DEGREE(40 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 765 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 766 .accel_max_scale = IIO_M_S_2_TO_G(800 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 767 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 768 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 769 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 770 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 771 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 772 .adis_data = ADIS16475_DATA(16467, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 773 },
fff7352bf7a3ce Nuno Sá 2020-04-13 774 [ADIS16467_3] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 775 .name = "adis16467-3",
fff7352bf7a3ce Nuno Sá 2020-04-13 776 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 777 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 778 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 779 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 780 .accel_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 781 .accel_max_scale = IIO_M_S_2_TO_G(800 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 782 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 783 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 784 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 785 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 786 .num_sync = ARRAY_SIZE(adis16475_sync_mode),
fff7352bf7a3ce Nuno Sá 2020-04-13 787 .adis_data = ADIS16475_DATA(16467, &adis16475_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 788 },
fff7352bf7a3ce Nuno Sá 2020-04-13 789 [ADIS16500] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 790 .name = "adis16500",
fff7352bf7a3ce Nuno Sá 2020-04-13 791 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 792 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 793 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 794 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 795 .accel_max_val = 392,
fff7352bf7a3ce Nuno Sá 2020-04-13 796 .accel_max_scale = 32000 << 16,
fff7352bf7a3ce Nuno Sá 2020-04-13 797 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 798 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 799 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 800 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 801 /* pulse sync not supported */
fff7352bf7a3ce Nuno Sá 2020-04-13 802 .num_sync = ARRAY_SIZE(adis16475_sync_mode) - 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 803 .has_burst32 = true,
fff7352bf7a3ce Nuno Sá 2020-04-13 804 .adis_data = ADIS16475_DATA(16500, &adis1650x_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 805 },
fff7352bf7a3ce Nuno Sá 2020-04-13 806 [ADIS16505_1] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 807 .name = "adis16505-1",
fff7352bf7a3ce Nuno Sá 2020-04-13 808 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 809 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 810 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 811 .gyro_max_scale = IIO_RAD_TO_DEGREE(160 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 812 .accel_max_val = 78,
fff7352bf7a3ce Nuno Sá 2020-04-13 813 .accel_max_scale = 32000 << 16,
fff7352bf7a3ce Nuno Sá 2020-04-13 814 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 815 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 816 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 817 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 818 /* pulse sync not supported */
fff7352bf7a3ce Nuno Sá 2020-04-13 819 .num_sync = ARRAY_SIZE(adis16475_sync_mode) - 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 820 .has_burst32 = true,
fff7352bf7a3ce Nuno Sá 2020-04-13 821 .adis_data = ADIS16475_DATA(16505, &adis1650x_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 822 },
fff7352bf7a3ce Nuno Sá 2020-04-13 823 [ADIS16505_2] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 824 .name = "adis16505-2",
fff7352bf7a3ce Nuno Sá 2020-04-13 825 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 826 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 827 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 828 .gyro_max_scale = IIO_RAD_TO_DEGREE(40 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 829 .accel_max_val = 78,
fff7352bf7a3ce Nuno Sá 2020-04-13 830 .accel_max_scale = 32000 << 16,
fff7352bf7a3ce Nuno Sá 2020-04-13 831 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 832 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 833 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 834 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 835 /* pulse sync not supported */
fff7352bf7a3ce Nuno Sá 2020-04-13 836 .num_sync = ARRAY_SIZE(adis16475_sync_mode) - 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 837 .has_burst32 = true,
fff7352bf7a3ce Nuno Sá 2020-04-13 838 .adis_data = ADIS16475_DATA(16505, &adis1650x_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 839 },
fff7352bf7a3ce Nuno Sá 2020-04-13 840 [ADIS16505_3] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 841 .name = "adis16505-3",
fff7352bf7a3ce Nuno Sá 2020-04-13 842 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 843 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 844 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 845 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 846 .accel_max_val = 78,
fff7352bf7a3ce Nuno Sá 2020-04-13 847 .accel_max_scale = 32000 << 16,
fff7352bf7a3ce Nuno Sá 2020-04-13 848 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 849 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 850 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 851 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 852 /* pulse sync not supported */
fff7352bf7a3ce Nuno Sá 2020-04-13 853 .num_sync = ARRAY_SIZE(adis16475_sync_mode) - 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 854 .has_burst32 = true,
fff7352bf7a3ce Nuno Sá 2020-04-13 855 .adis_data = ADIS16475_DATA(16505, &adis1650x_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 856 },
fff7352bf7a3ce Nuno Sá 2020-04-13 857 [ADIS16507_1] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 858 .name = "adis16507-1",
fff7352bf7a3ce Nuno Sá 2020-04-13 859 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 860 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 861 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 862 .gyro_max_scale = IIO_RAD_TO_DEGREE(160 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 863 .accel_max_val = 392,
fff7352bf7a3ce Nuno Sá 2020-04-13 864 .accel_max_scale = 32000 << 16,
fff7352bf7a3ce Nuno Sá 2020-04-13 865 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 866 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 867 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 868 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 869 /* pulse sync not supported */
fff7352bf7a3ce Nuno Sá 2020-04-13 870 .num_sync = ARRAY_SIZE(adis16475_sync_mode) - 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 871 .has_burst32 = true,
fff7352bf7a3ce Nuno Sá 2020-04-13 872 .adis_data = ADIS16475_DATA(16507, &adis1650x_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 873 },
fff7352bf7a3ce Nuno Sá 2020-04-13 874 [ADIS16507_2] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 875 .name = "adis16507-2",
fff7352bf7a3ce Nuno Sá 2020-04-13 876 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 877 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 878 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 879 .gyro_max_scale = IIO_RAD_TO_DEGREE(40 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 880 .accel_max_val = 392,
fff7352bf7a3ce Nuno Sá 2020-04-13 881 .accel_max_scale = 32000 << 16,
fff7352bf7a3ce Nuno Sá 2020-04-13 882 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 883 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 884 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 885 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 886 /* pulse sync not supported */
fff7352bf7a3ce Nuno Sá 2020-04-13 887 .num_sync = ARRAY_SIZE(adis16475_sync_mode) - 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 888 .has_burst32 = true,
fff7352bf7a3ce Nuno Sá 2020-04-13 889 .adis_data = ADIS16475_DATA(16507, &adis1650x_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 890 },
fff7352bf7a3ce Nuno Sá 2020-04-13 891 [ADIS16507_3] = {
fff7352bf7a3ce Nuno Sá 2020-04-13 892 .name = "adis16507-3",
fff7352bf7a3ce Nuno Sá 2020-04-13 893 .num_channels = ARRAY_SIZE(adis16475_channels),
fff7352bf7a3ce Nuno Sá 2020-04-13 894 .channels = adis16475_channels,
fff7352bf7a3ce Nuno Sá 2020-04-13 895 .gyro_max_val = 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 896 .gyro_max_scale = IIO_RAD_TO_DEGREE(10 << 16),
fff7352bf7a3ce Nuno Sá 2020-04-13 897 .accel_max_val = 392,
fff7352bf7a3ce Nuno Sá 2020-04-13 898 .accel_max_scale = 32000 << 16,
fff7352bf7a3ce Nuno Sá 2020-04-13 899 .temp_scale = 100,
fff7352bf7a3ce Nuno Sá 2020-04-13 900 .int_clk = 2000,
fff7352bf7a3ce Nuno Sá 2020-04-13 901 .max_dec = 1999,
fff7352bf7a3ce Nuno Sá 2020-04-13 902 .sync = adis16475_sync_mode,
fff7352bf7a3ce Nuno Sá 2020-04-13 903 /* pulse sync not supported */
fff7352bf7a3ce Nuno Sá 2020-04-13 904 .num_sync = ARRAY_SIZE(adis16475_sync_mode) - 1,
fff7352bf7a3ce Nuno Sá 2020-04-13 905 .has_burst32 = true,
fff7352bf7a3ce Nuno Sá 2020-04-13 906 .adis_data = ADIS16475_DATA(16507, &adis1650x_timeouts),
fff7352bf7a3ce Nuno Sá 2020-04-13 907 },
fff7352bf7a3ce Nuno Sá 2020-04-13 908 };
fff7352bf7a3ce Nuno Sá 2020-04-13 909
:::::: The code@line 607 was first introduced by commit
:::::: fff7352bf7a3ceb2bda2479a4b212101b065209d iio: imu: Add support for adis16475
:::::: TO: Nuno Sá <nuno.sa@analog.com>
:::::: CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
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: 29073 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-11 6:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11 6:25 [sashal-linux-stable:pending-5.10 463/598] drivers/iio/imu/adis16475.c:607:16: error: field designator 'burst_max_speed_hz' does not refer to any field in type 'const struct adis_data' 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.