]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit5e3bafbd14b553e30234d234cb6d1fa004e292ab
tree2cb0a55046438f1a113d3feeeb79db3434c0bcfc
parent8888ed03237d07d8a325cf0b8e9f5473796c02f2
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