lkml.org 
[lkml]   [2020]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next v1 2/5] hinic: add support to set and get irq coalesce
From
Date
On 2020/6/23 6:08, Jakub Kicinski wrote:
>> + if (coal->tx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT) {
>> + netif_err(nic_dev, drv, netdev,
>> + "Tx_max_coalesced_frames out of range[%d-%d]\n", 0,
>> + COALESCE_MAX_PENDING_LIMIT);
>> + return -EOPNOTSUPP;
>> + }
>> +
>> + return 0;
>> +}
> I think ERANGE is a more appropriate error code in these?
Will fix. Thanks for your review.

\
 
 \ /
  Last update: 2020-06-23 08:42    [W:0.058 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site