ata: sata_sil24: Do not over-write initialise fields in 'sil24_sht'
authorLee Jones <lee.jones@linaro.org>
Fri, 28 May 2021 09:04:54 +0000 (10:04 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Jun 2021 12:50:25 +0000 (06:50 -0600)
commit945a0e2875f4d5d0030617f16f48a781d4523f48
tree905a2472f205ef457e67330be57351d73eb3395f
parent071e86fe2872e7442e42ad26f71cd6bde55344f8
ata: sata_sil24: Do not over-write initialise fields in 'sil24_sht'

Fixes the following W=1 kernel build warning(s):

 In file included from drivers/ata/sata_sil24.c:14:
 drivers/ata/sata_sil24.c:378:16: warning: initialized field overwritten [-Woverride-init]
 drivers/ata/sata_sil24.c:378:16: note: (near initialization for ‘sil24_sht.can_queue’)

Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210528090502.1799866-4-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/sata_sil24.c