Re: [Open-FCoE] [PATCH 6/6] fcoemon: Add unknown command value to debug statement

2012-09-26 Thread Neil Horman
On Tue, Sep 25, 2012 at 01:21:55PM -0700, Robert Love wrote:
 Provide more useful information to the user who is
 debugging.
 
 Signed-off-by: Robert Love robert.w.l...@intel.com
 ---
  fcoemon.c |4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/fcoemon.c b/fcoemon.c
 index 7f59dce..9217552 100644
 --- a/fcoemon.c
 +++ b/fcoemon.c
 @@ -3176,8 +3176,8 @@ static void fcm_srv_receive(void *arg)
   goto err_out;
   break;
   default:
 - FCM_LOG_DBG(Received invalid command for %s\n,
 - ifname);
 + FCM_LOG_DBG(Received invalid command %d for %s\n,
 + cmd, ifname);
   goto err_out;
   }
  
 
Acked-by: Neil Horman nhor...@tuxdriver.com
 ___
 devel mailing list
 devel@open-fcoe.org
 https://lists.open-fcoe.org/mailman/listinfo/devel
 
___
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel


[Open-FCoE] [PATCH 6/6] fcoemon: Add unknown command value to debug statement

2012-09-25 Thread Robert Love
Provide more useful information to the user who is
debugging.

Signed-off-by: Robert Love robert.w.l...@intel.com
---
 fcoemon.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fcoemon.c b/fcoemon.c
index 7f59dce..9217552 100644
--- a/fcoemon.c
+++ b/fcoemon.c
@@ -3176,8 +3176,8 @@ static void fcm_srv_receive(void *arg)
goto err_out;
break;
default:
-   FCM_LOG_DBG(Received invalid command for %s\n,
-   ifname);
+   FCM_LOG_DBG(Received invalid command %d for %s\n,
+   cmd, ifname);
goto err_out;
}
 

___
devel mailing list
devel@open-fcoe.org
https://lists.open-fcoe.org/mailman/listinfo/devel