OSDN Git Service

ANDROID: GKI: scsi: add Android ABI padding to some structures
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 22 Apr 2020 13:35:08 +0000 (15:35 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 1 May 2020 13:18:12 +0000 (15:18 +0200)
commitfa1f82f61bae93cfe852e6c4e91c6aa958e561a7
treefd792f2eac25e4cb10412debc432a114a7b1ff5a
parent728578922329c3018d26c99ed836eb45129573df
ANDROID: GKI: scsi: add Android ABI padding to some structures

Try to mitigate potential future driver core api changes by adding a
padding to struct scsi_cmnd, struct scsi_device, and struct
scsi_host_template.

Based on a change made to the RHEL/CENTOS 8 kernel.

Bug: 151154716
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ie6a2b91970e8f9063bf00e96a0dff661f77b8e8d
include/scsi/scsi_cmnd.h
include/scsi/scsi_device.h
include/scsi/scsi_host.h