]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging:ozwpan:Fix sparse warning of incorrect argument type
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 12 Mar 2014 16:50:32 +0000 (22:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Mar 2014 18:58:26 +0000 (11:58 -0700)
commit45b1fe53b78fb117338c3c34760543a1668fd7c5
tree05564b6bc2a6ae9d55a95683a065dd5a5a8ec8d7
parent8470e79188fbd3839284bf4f2f48aa1a018df64e
staging:ozwpan:Fix sparse warning of incorrect argument type

This patch fixes the following sparse warning:
drivers/staging/ozwpan/ozusbsvc1.c:208:50: warning: incorrect type in argument 6 (different base types)
drivers/staging/ozwpan/ozusbsvc1.c:208:50:    expected unsigned short [unsigned] [usertype] windex
drivers/staging/ozwpan/ozusbsvc1.c:208:50:    got restricted __le16 [usertype] wIndex

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozprotocol.h
drivers/staging/ozwpan/ozusbif.h
drivers/staging/ozwpan/ozusbsvc1.c