]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: fix sparse warning in manifest.c
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 3 Feb 2016 05:31:19 +0000 (21:31 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 3 Feb 2016 18:38:54 +0000 (10:38 -0800)
commitd1a9c0560a4ffc05c31a042dff380ddf1ea721b0
tree87e879204c056cead10f4cfff16c6d0c11ef2700
parentec413566e819ad19be929ab38d2b5911cbf096c2
greybus: fix sparse warning in manifest.c

The cport id field is a le16, so treat it as such when comparing it to
something else.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/manifest.c