Commit 393bde46 authored by David Binder's avatar David Binder Committed by Greg Kroah-Hartman

staging: unisys: visorhba: visorhba_main.c: Fix #define formatting

In an effort to create a more uniform coding style within the Unisys
s-Par driver set, this patch adjusts the formatting of all #define
directives within this source file to match the following template,
and thereby eliminate irregular usage of whitespace:
Reviewed-by: default avatarTim Sell <timothy.sell@unisys.com>

The amount of whitespace used between the <token> and the <value> is
dependent on what is needed to make the surrounding #define directives
as uniform as possible.
Signed-off-by: default avatarDavid Binder <david.binder@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9b2c242
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
/* The Send and Receive Buffers of the IO Queue may both be full */ /* The Send and Receive Buffers of the IO Queue may both be full */
#define IOS_ERROR_THRESHOLD 1000 #define IOS_ERROR_THRESHOLD 1000
#define MAX_PENDING_REQUESTS (MIN_NUMSIGNALS * 2) #define MAX_PENDING_REQUESTS (MIN_NUMSIGNALS * 2)
#define VISORHBA_ERROR_COUNT 30 #define VISORHBA_ERROR_COUNT 30
static struct dentry *visorhba_debugfs_dir; static struct dentry *visorhba_debugfs_dir;
...@@ -101,10 +101,10 @@ struct visorhba_devices_open { ...@@ -101,10 +101,10 @@ struct visorhba_devices_open {
struct visorhba_devdata *devdata; struct visorhba_devdata *devdata;
}; };
#define for_each_vdisk_match(iter, list, match) \ #define for_each_vdisk_match(iter, list, match) \
for (iter = &list->head; iter->next; iter = iter->next) \ for (iter = &list->head; iter->next; iter = iter->next) \
if ((iter->channel == match->channel) && \ if ((iter->channel == match->channel) && \
(iter->id == match->id) && \ (iter->id == match->id) && \
(iter->lun == match->lun)) (iter->lun == match->lun))
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment