From: Dave Chinner Date: Thu, 21 Apr 2022 00:47:07 +0000 (+1000) Subject: xfs: convert log item tracepoint flags to unsigned. X-Git-Tag: v5.19-rc1~147^2~41^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22d53f480c56e34316d2e5f3757ba1839d47008b;p=thirdparty%2Fkernel%2Flinux.git xfs: convert log item tracepoint flags to unsigned. 5.18 w/ std=gnu11 compiled with gcc-5 wants flags stored in unsigned fields to be unsigned. Signed-off-by: Dave Chinner Reviewed-by: Chandan Babu R Signed-off-by: Dave Chinner --- diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h index de177842b951c..569b68fc69125 100644 --- a/fs/xfs/xfs_trans.h +++ b/fs/xfs/xfs_trans.h @@ -58,10 +58,10 @@ struct xfs_log_item { #define XFS_LI_DIRTY 3 /* log item dirty in transaction */ #define XFS_LI_FLAGS \ - { (1 << XFS_LI_IN_AIL), "IN_AIL" }, \ - { (1 << XFS_LI_ABORTED), "ABORTED" }, \ - { (1 << XFS_LI_FAILED), "FAILED" }, \ - { (1 << XFS_LI_DIRTY), "DIRTY" } + { (1u << XFS_LI_IN_AIL), "IN_AIL" }, \ + { (1u << XFS_LI_ABORTED), "ABORTED" }, \ + { (1u << XFS_LI_FAILED), "FAILED" }, \ + { (1u << XFS_LI_DIRTY), "DIRTY" } struct xfs_item_ops { unsigned flags;