[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150422.184432.822632448362339441.davem@davemloft.net>
Date: Wed, 22 Apr 2015 18:44:32 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: ivecera@...hat.com, netdev@...r.kernel.org,
sathya.perla@...lex.com, subbu.seetharaman@...lex.com,
ajit.khaparde@...lex.com
Subject: Re: [PATCH net-next v2] be2net: log link status
From: Joe Perches <joe@...ches.com>
Date: Wed, 22 Apr 2015 07:07:54 -0700
> On Wed, 2015-04-22 at 15:43 +0200, Ivan Vecera wrote:
>> @@ -658,10 +659,18 @@ void be_link_status_update(struct be_adapter *adapter, u8 link_status)
>> adapter->flags |= BE_FLAGS_LINK_STATUS_INIT;
>> }
>>
>> - if (link_status)
>> + if (link_status) {
>> + if (speed)
>> + /* Print speed only when it is known */
>> + netdev_info(netdev, "Link is Up at %d Mbps\n", speed);
>
> signed/unsigned mismatch. %u, speed
Indeed, please fix this up and resubmit, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists