mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 16:48:36 -05:00
With clang 4.0.0, I'm getting the following warnings:
sys/geom/vinum/geom_vinum_state.c:186:7: error: logical not is only
applied to the left hand side of this bitwise operator
[-Werror,-Wlogical-not-parentheses]
if (!flags & GV_SETSTATE_FORCE)
^ ~
The logical not operator should obiously be called after masking.
Reviewed by: mav, pfg
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D9093
|
||
|---|---|---|
| .. | ||
| geom_vinum.c | ||
| geom_vinum.h | ||
| geom_vinum_create.c | ||
| geom_vinum_drive.c | ||
| geom_vinum_events.c | ||
| geom_vinum_init.c | ||
| geom_vinum_list.c | ||
| geom_vinum_move.c | ||
| geom_vinum_plex.c | ||
| geom_vinum_raid5.c | ||
| geom_vinum_raid5.h | ||
| geom_vinum_rename.c | ||
| geom_vinum_rm.c | ||
| geom_vinum_share.c | ||
| geom_vinum_share.h | ||
| geom_vinum_state.c | ||
| geom_vinum_subr.c | ||
| geom_vinum_var.h | ||
| geom_vinum_volume.c | ||