]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: avoid 'bool' datatype in struct sent to firmware
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 5 Nov 2019 09:51:22 +0000 (09:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Nov 2019 17:08:52 +0000 (18:08 +0100)
commitcf431734c365f66824d2b9fd6dbd11fa00cdefe1
tree2cb0a55046438f1a113d3feeeb79db3434c0bcfc
parentd41967c61b2c67856096e85247da15dbd704f6a6
staging: wilc1000: avoid 'bool' datatype in struct sent to firmware

Use 'u8' instead of 'bool' datatype for struct element sent to firmware
because storage of bool datatype is not guaranteed.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20191105095058.24223-2-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_hif.c