staging:rtl8187se: Fix sparse warning restricted __le16 degrades to integer
authorHimangi Saraogi <himangi774@gmail.com>
Mon, 10 Mar 2014 03:19:23 +0000 (08:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Mar 2014 17:05:06 +0000 (10:05 -0700)
commite95f6dfbcfad748f76376f0de8c4f34457bb2fc3
tree8bef8bd21b60d3a608dbee2e51ceb38b8fd0fe8d
parent1a32c5ad2085f6a8a1c6e68ab1030c604a923d22
staging:rtl8187se: Fix sparse warning restricted __le16 degrades to integer

This patch fixes the following sparse warning in r8180_core.c - warning:
restricted __le16 degrades to integer. Also, the variable morefrag is
changed to bool as it is being used as a bool.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Reviewed-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180_core.c