diff options
| author | David Ertman <[email protected]> | 2014-02-26 00:02:24 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2014-03-07 23:06:41 -0800 |
| commit | 5bb731760810b30d67096cbdded96addba4f1292 (patch) | |
| tree | 9888e3c304ea137d2c0de50b2fa8ab6a958dc50a /include/linux/timerqueue.h | |
| parent | 74f350ee08e2ffa083204029018fce9941ba9bd5 (diff) | |
e1000e: Fix not generating an error on invalid load parameter
Valid values for InterruptThrottleRate are 10-100000, or one of
0, 1, 3, 4. '2' is not valid. This is a legacy from the branching
from the e1000 driver code that e1000e was based from.
Prior to this patch, if the e1000e driver was loaded with a forced
invalid InterruptThrottleRate of '2', then no throttle rate would be
set and no error message generated.
Now, a message will be generated that an invalid value was used and the
value for InterruptThrottleRate will be set to the default value.
Signed-off-by: Dave Ertman <[email protected]>
Tested-by: Jeff Pieper <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions