Skip to content

Commit 22d53f4

Browse files
dgchinnerdchinner
authored andcommitted
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 <dchinner@redhat.com> Reviewed-by: Chandan Babu R <chandan.babu@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
1 parent 1005dd0 commit 22d53f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

fs/xfs/xfs_trans.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ struct xfs_log_item {
5858
#define XFS_LI_DIRTY 3 /* log item dirty in transaction */
5959

6060
#define XFS_LI_FLAGS \
61-
{ (1 << XFS_LI_IN_AIL), "IN_AIL" }, \
62-
{ (1 << XFS_LI_ABORTED), "ABORTED" }, \
63-
{ (1 << XFS_LI_FAILED), "FAILED" }, \
64-
{ (1 << XFS_LI_DIRTY), "DIRTY" }
61+
{ (1u << XFS_LI_IN_AIL), "IN_AIL" }, \
62+
{ (1u << XFS_LI_ABORTED), "ABORTED" }, \
63+
{ (1u << XFS_LI_FAILED), "FAILED" }, \
64+
{ (1u << XFS_LI_DIRTY), "DIRTY" }
6565

6666
struct xfs_item_ops {
6767
unsigned flags;

0 commit comments

Comments
 (0)