Files
android_kernel_xiaomi_sm8450/include/linux/spi
Greg Kroah-Hartman 06e0ef2a71 ANDROID: GKI: fix up spi structure change
The spi_controller structure changed 2 fields from unsigned to signed to
fix a bug in 5.10.63.  Work around that by only preserve the previous
CRC symbols, while keeping the signed change so that the bug remains
fixed as the structure size did not change at all.

Note, this affects the libabigail structures, so they are updated as
well:

Functions changes summary: 0 Removed, 1 Changed (345 filtered out), 0 Added functions
Variables changes summary: 0 Removed, 0 Changed (3 filtered out), 0 Added variables

1 function with some indirect sub-type change:

  [C] 'function spi_controller* __devm_spi_alloc_controller(device*, unsigned int, bool)' at spi.c:2490:1 has some indirect sub-type changes:
    return type changed:
      in pointed to type 'struct spi_controller' at spi.h:472:1:
        type size hasn't changed
        2 data member changes (1 filtered):
          'u8 unused_native_cs' has *some* difference - please report as a bug
          type of 'u8 max_native_cs' changed:
            typedef name changed from u8 to s8 at int-ll64.h:16:1
            underlying type 'typedef __u8' at int-ll64.h:21:1 changed:
              typedef name changed from __u8 to __s8 at int-ll64.h:20:1
              underlying type 'unsigned char' changed:
                type name changed from 'unsigned char' to 'signed char'
                type size hasn't changed

Fixes: 35f3f8504c3b ("spi: Switch to signed types for *_native_cs SPI controller fields")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I0e3f02558bfdd6c36f41c172977e1bf51bfbc263
2021-09-09 11:59:07 +02:00
..