aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-06-14 21:35:34 -0700
committerDarrick J. Wong <[email protected]>2017-06-19 08:59:10 -0700
commit0cbe48cc5814ae26e4058c5d666914c86a4a6b5d (patch)
tree9d169c46c37e52c6b5cb8290c35a2e8c57af4b29 /net/lapb/lapb_iface.c
parentf990fc5ad13b8fecdf154f36c252d49d7e9bdfab (diff)
xfs: avoid harmless gcc-7 warnings
gcc-7 flags the use of integer math inside of a condition as a potential bug: fs/xfs/xfs_bmap_util.c: In function 'xfs_swap_extents_check_format': fs/xfs/xfs_bmap_util.c:1619:8: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context] fs/xfs/xfs_bmap_util.c:1629:8: error: '<<' in boolean context, did you mean '<' ? [-Werror=int-in-bool-context] There is already a helper function for testing the di_forkoff field for zero, so let's use that instead to shut up the warning. Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions