summaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-06-14 21:35:34 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-06-19 08:59:10 -0700
commit0cbe48cc5814ae26e4058c5d666914c86a4a6b5d (patch)
tree9d169c46c37e52c6b5cb8290c35a2e8c57af4b29 /fs/seq_file.c
parentf990fc5ad13b8fecdf154f36c252d49d7e9bdfab (diff)
downloadblackbird-obmc-linux-0cbe48cc5814ae26e4058c5d666914c86a4a6b5d.tar.gz
blackbird-obmc-linux-0cbe48cc5814ae26e4058c5d666914c86a4a6b5d.zip
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 <arnd@arndb.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud