Commit 606dbd0
committed
glfs-fops.c: fix clang compilation warnings
Fix:
glfs-fops.c:5965:26: warning: implicit conversion from enumeration type 'gf_upcall_event_t' to different enumeration type 'enum glfs_upcall_reason' [-Wenum-conversion]
5965 | up_arg->reason = GF_UPCALL_EVENT_NULL;
| ~ ^~~~~~~~~~~~~~~~~~~~
CC libgfapi_la-glfs-fops.lo
glfs-fops.c:6621:28: warning: implicit conversion from enumeration type 'gf_lease_cmds_t' (aka 'enum gf_lease_cmds_t') to different enumeration type 'glfs_lease_cmds_t' (aka 'enum glfs_lease_cmds') [-Wenum-conversion]
6621 | lease->cmd = gf_lease->cmd;
| ~ ~~~~~~~~~~^~~
glfs-fops.c:6630:28: warning: implicit conversion from enumeration type 'glfs_lease_cmds_t' (aka 'enum glfs_lease_cmds') to different enumeration type 'gf_lease_cmds_t' (aka 'enum gf_lease_cmds_t') [-Wenum-conversion]
6630 | gf_lease->cmd = lease->cmd;
| ~ ~~~~~~~^~~
Signed-off-by: Yaniv Kaul <[email protected]>1 parent dae26db commit 606dbd0
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5962 | 5962 | | |
5963 | 5963 | | |
5964 | 5964 | | |
5965 | | - | |
| 5965 | + | |
5966 | 5966 | | |
5967 | 5967 | | |
5968 | 5968 | | |
| |||
6618 | 6618 | | |
6619 | 6619 | | |
6620 | 6620 | | |
6621 | | - | |
| 6621 | + | |
6622 | 6622 | | |
6623 | 6623 | | |
6624 | 6624 | | |
| |||
6627 | 6627 | | |
6628 | 6628 | | |
6629 | 6629 | | |
6630 | | - | |
| 6630 | + | |
6631 | 6631 | | |
6632 | 6632 | | |
6633 | 6633 | | |
| |||
0 commit comments