mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
scsi: fcoe: Fixup missing initialisation in fcoe_dcb_create()
Found by 0-day robot. Fixes: a99ac6e715bc ("scsi: fcoe: set default TC priority") Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
efe583c6d3
commit
c596965671
1 changed files with 1 additions and 1 deletions
|
@ -2171,11 +2171,11 @@ static void fcoe_dcb_create(struct fcoe_interface *fcoe)
|
||||||
{
|
{
|
||||||
int ctlr_prio = TC_PRIO_BESTEFFORT;
|
int ctlr_prio = TC_PRIO_BESTEFFORT;
|
||||||
int fcoe_prio = TC_PRIO_INTERACTIVE;
|
int fcoe_prio = TC_PRIO_INTERACTIVE;
|
||||||
|
struct fcoe_ctlr *ctlr = fcoe_to_ctlr(fcoe);
|
||||||
#ifdef CONFIG_DCB
|
#ifdef CONFIG_DCB
|
||||||
int dcbx;
|
int dcbx;
|
||||||
u8 fup, up;
|
u8 fup, up;
|
||||||
struct net_device *netdev = fcoe->realdev;
|
struct net_device *netdev = fcoe->realdev;
|
||||||
struct fcoe_ctlr *ctlr = fcoe_to_ctlr(fcoe);
|
|
||||||
struct dcb_app app = {
|
struct dcb_app app = {
|
||||||
.priority = 0,
|
.priority = 0,
|
||||||
.protocol = ETH_P_FCOE
|
.protocol = ETH_P_FCOE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue