staging: lustre: libcfs_debug: small whitespace cleanups

Just a few minor changes to make columns line up.

Signed-off-by: Salym Senyonga <salymsash@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Salym Senyonga 2014-01-13 16:41:08 +03:00 committed by Greg Kroah-Hartman
parent e6ee5f4bb4
commit 1c4738c35e

View File

@ -165,18 +165,18 @@ struct ptldebug_header {
#define CDEBUG_DEFAULT_MIN_DELAY ((cfs_time_seconds(1) + 1) / 2) /* jiffies */ #define CDEBUG_DEFAULT_MIN_DELAY ((cfs_time_seconds(1) + 1) / 2) /* jiffies */
#define CDEBUG_DEFAULT_BACKOFF 2 #define CDEBUG_DEFAULT_BACKOFF 2
struct cfs_debug_limit_state { struct cfs_debug_limit_state {
cfs_time_t cdls_next; cfs_time_t cdls_next;
unsigned int cdls_delay; unsigned int cdls_delay;
int cdls_count; int cdls_count;
}; };
struct libcfs_debug_msg_data { struct libcfs_debug_msg_data {
const char *msg_file; const char *msg_file;
const char *msg_fn; const char *msg_fn;
int msg_subsys; int msg_subsys;
int msg_line; int msg_line;
int msg_mask; int msg_mask;
struct cfs_debug_limit_state *msg_cdls; struct cfs_debug_limit_state *msg_cdls;
}; };
#define LIBCFS_DEBUG_MSG_DATA_INIT(data, mask, cdls) \ #define LIBCFS_DEBUG_MSG_DATA_INIT(data, mask, cdls) \
@ -228,10 +228,10 @@ do { \
__CDEBUG(&cdls, mask, format, ## __VA_ARGS__); \ __CDEBUG(&cdls, mask, format, ## __VA_ARGS__); \
} while (0) } while (0)
#define CWARN(format, ...) CDEBUG_LIMIT(D_WARNING, format, ## __VA_ARGS__) #define CWARN(format, ...) CDEBUG_LIMIT(D_WARNING, format, ## __VA_ARGS__)
#define CERROR(format, ...) CDEBUG_LIMIT(D_ERROR, format, ## __VA_ARGS__) #define CERROR(format, ...) CDEBUG_LIMIT(D_ERROR, format, ## __VA_ARGS__)
#define CNETERR(format, a...) CDEBUG_LIMIT(D_NETERROR, format, ## a) #define CNETERR(format, a...) CDEBUG_LIMIT(D_NETERROR, format, ## a)
#define CEMERG(format, ...) CDEBUG_LIMIT(D_EMERG, format, ## __VA_ARGS__) #define CEMERG(format, ...) CDEBUG_LIMIT(D_EMERG, format, ## __VA_ARGS__)
#define LCONSOLE(mask, format, ...) CDEBUG(D_CONSOLE | (mask), format, ## __VA_ARGS__) #define LCONSOLE(mask, format, ...) CDEBUG(D_CONSOLE | (mask), format, ## __VA_ARGS__)
#define LCONSOLE_INFO(format, ...) CDEBUG_LIMIT(D_CONSOLE, format, ## __VA_ARGS__) #define LCONSOLE_INFO(format, ...) CDEBUG_LIMIT(D_CONSOLE, format, ## __VA_ARGS__)