]> git.baikalelectronics.ru Git - kernel.git/commit
cxlflash: Fix to avoid sizeof(bool)
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Wed, 21 Oct 2015 20:11:34 +0000 (15:11 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 30 Oct 2015 08:01:49 +0000 (17:01 +0900)
commit654dab519aae0212cedb0608728811e82d419beb
tree763aa44e05d924bc6272ed2d95c4287338fbb182
parentbead3735a01e98d62126e00b89d586fbbe361c69
cxlflash: Fix to avoid sizeof(bool)

Using sizeof(bool) is considered poor form for various reasons and
sparse warns us of that. Correct by changing type from bool to u8.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/cxlflash/superpipe.c
drivers/scsi/cxlflash/superpipe.h