[PATCH] bnx2fc: Do not log error for netevents that need no action

2014-06-06 Thread shirishpargaonkar
From: Shirish Pargaonkar Do not log error for netevents that need no action such as NETDEV_REGISTER 0x0005, NETDEV_CHANGEADDR, and NETDEV_CHANGENAME. It results in logging error messages such as these [ 35.315872] bnx2fc: Unknown netevent 5 [ 35.315935] bnx2fc: Unknown netevent 8 [ 35.353

[PATCH] sg3_utils: Strip spaces at the end of various fields in INQUIRY response

2014-04-03 Thread shirishpargaonkar
From: Shirish Pargaonkar sginfo prints out various fields such as Vendor and Product in INQUIRY response with spaces (0x20) characters. This can confuse scripts some users have. A change to sysfs attributes such that it now includes spaces caused this problem. Strip out those trailing spaces (