commit | 702c221ca64060b81af4461553be19cba275da8b | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Mon May 29 19:06:10 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue May 30 18:14:07 2017 -0400 |
tree | 69245516ecc68b90e201c69278b566f0dd28e248 | |
parent | 4d172f21cefe896df8477940269b8d52129f8c87 [diff] |
bnxt_en: Pass in sh parameter to bnxt_set_dflt_rings(). In the existing code, the local variable sh is hardcoded to true to calculate default rings for shared ring configuration. It is better to have the caller determine the value of sh. Reported-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>