]> git.ipfire.org Git - people/ms/linux.git/commitdiff
staging: lustre: lnet: give LNET_MATCH* enum a name
authorJames Simmons <jsimmons@infradead.org>
Mon, 27 Feb 2017 00:41:47 +0000 (19:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:04 +0000 (09:17 +0100)
The LNET_MATCH* flags are an enum without a name.
Lets label that enum.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/20831
Reviewed-by: Olaf Weber <olaf@sgi.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/lnet/lib-types.h

index 5bf1819b9ee4a382f9f1a45ce00a2b4a3ad7c6ef..ffc961f705cd7765c07d971c98a6c72878abceab 100644 (file)
@@ -425,7 +425,7 @@ struct lnet_rtrbuf {
 /* # different router buffer pools */
 #define LNET_NRBPOOLS          (LNET_LARGE_BUF_IDX + 1)
 
-enum {
+enum lnet_match_flags {
        /* Didn't match anything */
        LNET_MATCHMD_NONE       = (1 << 0),
        /* Matched OK */