mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
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:
parent
e6ee5f4bb4
commit
1c4738c35e
@ -165,18 +165,18 @@ struct ptldebug_header {
|
||||
#define CDEBUG_DEFAULT_MIN_DELAY ((cfs_time_seconds(1) + 1) / 2) /* jiffies */
|
||||
#define CDEBUG_DEFAULT_BACKOFF 2
|
||||
struct cfs_debug_limit_state {
|
||||
cfs_time_t cdls_next;
|
||||
unsigned int cdls_delay;
|
||||
cfs_time_t cdls_next;
|
||||
unsigned int cdls_delay;
|
||||
int cdls_count;
|
||||
};
|
||||
|
||||
struct libcfs_debug_msg_data {
|
||||
const char *msg_file;
|
||||
const char *msg_fn;
|
||||
int msg_subsys;
|
||||
int msg_line;
|
||||
int msg_mask;
|
||||
struct cfs_debug_limit_state *msg_cdls;
|
||||
const char *msg_file;
|
||||
const char *msg_fn;
|
||||
int msg_subsys;
|
||||
int msg_line;
|
||||
int msg_mask;
|
||||
struct cfs_debug_limit_state *msg_cdls;
|
||||
};
|
||||
|
||||
#define LIBCFS_DEBUG_MSG_DATA_INIT(data, mask, cdls) \
|
||||
@ -228,10 +228,10 @@ do { \
|
||||
__CDEBUG(&cdls, mask, format, ## __VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
#define CWARN(format, ...) CDEBUG_LIMIT(D_WARNING, format, ## __VA_ARGS__)
|
||||
#define CERROR(format, ...) CDEBUG_LIMIT(D_ERROR, format, ## __VA_ARGS__)
|
||||
#define CNETERR(format, a...) CDEBUG_LIMIT(D_NETERROR, format, ## a)
|
||||
#define CEMERG(format, ...) CDEBUG_LIMIT(D_EMERG, format, ## __VA_ARGS__)
|
||||
#define CWARN(format, ...) CDEBUG_LIMIT(D_WARNING, format, ## __VA_ARGS__)
|
||||
#define CERROR(format, ...) CDEBUG_LIMIT(D_ERROR, format, ## __VA_ARGS__)
|
||||
#define CNETERR(format, a...) CDEBUG_LIMIT(D_NETERROR, format, ## a)
|
||||
#define CEMERG(format, ...) CDEBUG_LIMIT(D_EMERG, 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__)
|
||||
|
Loading…
Reference in New Issue
Block a user