]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix registration frame size
authorJúlius Milan <jmilan.dev@gmail.com>
Mon, 7 Jan 2019 14:43:05 +0000 (15:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jan 2019 15:31:09 +0000 (16:31 +0100)
commite14e4e63abf9def4e42216cf131d994cbbe093d7
tree5d6e5bd14e2a8cb38fad4167f161af185b8a318e
parent8b5c1a1b081cff38bca27a6abe1da0f1accff3a0
staging: wilc1000: fix registration frame size

Fixes the following sparse warnings:

drivers/staging/wilc1000/host_interface.c:2360:30: warning:
 incorrect type in assignment (different base types)
    expected restricted __le32 [addressable] [assigned] [usertype] frame_type
    got restricted __le16 [usertype] <noident>

Fixes: c94577fa63228 ("staging: wilc1000: handle mgmt_frame_register ops from cfg82011 context")
Signed-off-by: Július Milan <jmilan.dev@gmail.com>
Reviewed-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c