On Thu, Sep 25, 2014 at 11:58:12AM -0700, Vasu Dev wrote:
> Changed host link event to debug macro so that it doesn't clutter
> log with events details when debug mode is not enabled.
> 
> Signed-off-by: Vasu Dev <[email protected]>
> Tested-by: Jack Morgan<[email protected]>
> ---
> 
>  fcoemon.c |   12 ++++++------
>  1 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/fcoemon.c b/fcoemon.c
> index b3120bc..3b5210c 100644
> --- a/fcoemon.c
> +++ b/fcoemon.c
> @@ -800,12 +800,12 @@ static void fcm_fc_event_log(struct fc_nl_event *fe)
>       for (i = 0; i < ARRAY_SIZE(fc_host_event_code_names); i++) {
>               if (fe->event_code == fc_host_event_code_names[i].value) {
>                       /* only do u32 data even len is not, e.g. vendor */
> -                     FCM_LOG("FC_HOST_EVENT %d at %" PRIu64 " secs on 
> host%d:"
> -                             "code %d=%s datalen %d data=%d\n",
> -                             fe->event_num, fe->seconds,
> -                             fe->host_no, fe->event_code,
> -                             fc_host_event_code_names[i].name,
> -                             fe->event_datalen, fe->event_data);
> +                     FCM_LOG_DBG("FC_HOST_EVENT %d at %" PRIu64 " secs on "
> +                                 "host%d code %d=%s datalen %d data=%d\n",
> +                                 fe->event_num, fe->seconds,
> +                                 fe->host_no, fe->event_code,
> +                                 fc_host_event_code_names[i].name,
> +                                 fe->event_datalen, fe->event_data);
>                       break;
>               }
>       }
> 
Acked-by: Neil Horman <[email protected]>

> _______________________________________________
> fcoe-devel mailing list
> [email protected]
> http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel
> 
_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel

Reply via email to