summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm2835-audio/bcm2835-vchiq.c
diff options
context:
space:
mode:
authorWilliam Blough <devel@blough.us>2017-02-12 05:05:31 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-12 13:13:06 +0100
commitcdefc236ef23193e7dcb8758685af9e60e8820bb (patch)
treea1bac76f685b25dc8d4b5e29c6567dd24ff5a617 /drivers/staging/bcm2835-audio/bcm2835-vchiq.c
parentde51919c9a0297345d520de0ec2baee4bf5ddc87 (diff)
downloadop-kernel-dev-cdefc236ef23193e7dcb8758685af9e60e8820bb.zip
op-kernel-dev-cdefc236ef23193e7dcb8758685af9e60e8820bb.tar.gz
staging: lustre: lnet: fix type warning in lib-socket.c
The local socket address is defined as a __be32 value. However, if the local ip address is not given, then the constant INADDR_ANY is used. This patch converts INADDR_ANY to __be32 for type consistency. Fixes the following sparse warnings: drivers/staging/lustre/lnet/lnet/lib-socket.c:396:41: warning: incorrect type in assignment (different base types) drivers/staging/lustre/lnet/lnet/lib-socket.c:397:56: warning: restricted __be32 degrades to integer Signed-off-by: William Blough <devel@blough.us> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm2835-audio/bcm2835-vchiq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud