android_kernel_lge_bullhead/drivers/infiniband/hw
Arnd Bergmann 75840f1080 IB/qib: fix false-postive maybe-uninitialized warning
commit f6aafac184a3e46e919769dd4faa8bf0dc436534 upstream.

aarch64-linux-gcc-7 complains about code it doesn't fully understand:

drivers/infiniband/hw/qib/qib_iba7322.c: In function 'qib_7322_txchk_change':
include/asm-generic/bitops/non-atomic.h:105:35: error: 'shadow' may be used uninitialized in this function [-Werror=maybe-uninitialized]

The code is right, and despite trying hard, I could not come up with a version
that I liked better than just adding a fake initialization here to shut up the
warning.

Fixes: f931551baf ("IB/qib: Add new qib driver for QLogic PCIe InfiniBand adapters")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-11-02 10:46:02 +01:00
..
amso1100 drivers/infiniband/hw/amso1100: convert to using idr_alloc_cyclic 2013-04-29 18:28:41 -07:00
cxgb3 iw_cxgb3: Fix incorrectly returning error on success 2016-03-03 15:06:20 -08:00
cxgb4 InfiniBand/RDMA changes for the 3.10 merge window: 2013-05-08 15:29:48 -07:00
ehca IB/ehca: Returns an error on ib_copy_to_udata() failure 2014-05-06 07:55:30 -07:00
ipath IB/ipath: Translate legacy diagpkt into newer extended diagpkt 2014-07-06 18:54:14 -07:00
mlx4 IB/mlx4: Fix port query for 56Gb Ethernet links 2017-06-08 00:46:55 +02:00
mthca IB/mthca: Return an error on ib_copy_to_udata() failure 2014-05-06 07:55:30 -07:00
nes IB/nes: Return an error on ib_copy_from_udata() failure instead of NULL 2014-05-06 07:55:30 -07:00
ocrdma IB/ocrdma: convert to idr_alloc() 2013-02-27 19:10:17 -08:00
qib IB/qib: fix false-postive maybe-uninitialized warning 2017-11-02 10:46:02 +01:00