lkml.org 
[lkml]   [2017]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 22/34] staging: lustre: lnet: give LNET_MATCH* enum a name
    Date
    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>
    ---
    drivers/staging/lustre/include/linux/lnet/lib-types.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/staging/lustre/include/linux/lnet/lib-types.h b/drivers/staging/lustre/include/linux/lnet/lib-types.h
    index 5bf1819..ffc961f 100644
    --- a/drivers/staging/lustre/include/linux/lnet/lib-types.h
    +++ b/drivers/staging/lustre/include/linux/lnet/lib-types.h
    @@ -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 */
    --
    1.8.3.1
    \
     
     \ /
      Last update: 2017-02-27 03:24    [W:3.188 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site