mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
Revert "scsi: ufs: core: Add a compile-time structure size check"
This reverts commit9a868c8ad3. Currently breaks the build due to the modified Android UFS/Crypto code, so revert this until it is worked out... Cc: Eric Biggers <ebiggers@google.com> Cc: Bart Van Assche <bvanassche@google.com> Fixes:9a868c8ad3("scsi: ufs: core: Add a compile-time structure size check") Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I8ad94a4c50d9d28fb21ce691dd6cb34090668b03
This commit is contained in:
@@ -9832,11 +9832,6 @@ static int __init ufshcd_core_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
/* Verify that there are no gaps in struct utp_transfer_cmd_desc. */
|
||||
static_assert(sizeof(struct utp_transfer_cmd_desc) ==
|
||||
2 * ALIGNED_UPIU_SIZE +
|
||||
SG_ALL * sizeof(struct ufshcd_sg_entry));
|
||||
|
||||
ufs_debugfs_init();
|
||||
|
||||
ret = scsi_register_driver(&ufs_dev_wlun_template.gendrv);
|
||||
|
||||
Reference in New Issue
Block a user