diff options
author | Richard Lowe <richlowe@richlowe.net> | 2016-01-22 15:58:54 -0500 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2016-02-03 12:43:03 -0500 |
commit | 1a7f23d927dad680fa43ca65ed7f86adf49032e2 (patch) | |
tree | c83766d2677489727539c8cffebc48bc6fbe65ae | |
parent | 751609474e831927e5706b37cb08160df31dcd4d (diff) | |
download | illumos-joyent-1a7f23d927dad680fa43ca65ed7f86adf49032e2.tar.gz |
6595 sdev's devfsadm macros set a bad precedent
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
-rw-r--r-- | usr/src/uts/common/sys/fs/sdev_impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/uts/common/sys/fs/sdev_impl.h b/usr/src/uts/common/sys/fs/sdev_impl.h index 7ea6b88ec2..f31cb60a30 100644 --- a/usr/src/uts/common/sys/fs/sdev_impl.h +++ b/usr/src/uts/common/sys/fs/sdev_impl.h @@ -332,13 +332,13 @@ typedef enum { extern volatile uint_t devfsadm_state; /* atomic mask for devfsadm status */ #define DEVNAME_DEVFSADM_SET_RUNNING(devfsadm_state) \ - devfsadm_state = DEVNAME_DEVFSADM_RUNNING + (devfsadm_state = DEVNAME_DEVFSADM_RUNNING) #define DEVNAME_DEVFSADM_SET_STOP(devfsadm_state) \ - devfsadm_state = DEVNAME_DEVFSADM_STOPPED + (devfsadm_state = DEVNAME_DEVFSADM_STOPPED) #define DEVNAME_DEVFSADM_SET_RUN(devfsadm_state) \ - devfsadm_state = DEVNAME_DEVFSADM_RUN + (devfsadm_state = DEVNAME_DEVFSADM_RUN) #define DEVNAME_DEVFSADM_IS_RUNNING(devfsadm_state) \ - devfsadm_state == DEVNAME_DEVFSADM_RUNNING + (devfsadm_state == DEVNAME_DEVFSADM_RUNNING) #define DEVNAME_DEVFSADM_HAS_RUN(devfsadm_state) \ (devfsadm_state == DEVNAME_DEVFSADM_RUN) |