fcoe: Fixup missing initialisation in fcoe_dcb_create()
Subsystems (2)
Hannes Reinecke
maintainerPATCH 1/1 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 <[email protected]>
--- drivers/scsi/fcoe/fcoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/fcoe/fcoe.c +1 -1
@@ -2171,11 +2171,11 @@ static void fcoe_dcb_create(struct fcoe_interface *fcoe) {int ctlr_prio =TC_PRIO_BESTEFFORT ;int fcoe_prio =TC_PRIO_INTERACTIVE ; +struct fcoe_ctlr *ctlr =fcoe_to_ctlr (fcoe);#ifdef CONFIG_DCB int dcbx;u8 fup, up;struct net_device *netdev = fcoe->realdev; -struct fcoe_ctlr *ctlr =fcoe_to_ctlr (fcoe);struct dcb_app app = { .priority =0 , .protocol = ETH_P_FCOE
Signature · 1 line
1.8.5.6
Quoted 5 lines · Hannes Reinecke
Found by 0-day robot.
Fixes a99ac6e715bc ("scsi: fcoe: set default TC priority")Signed-off-by Hannes Reinecke <[email protected]>---
Looks good,
Signature · 6 lines
Johannes Thumshirn Storage [email protected] +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
Martin K. Petersen
AppliedQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hannes" == Hannes Reinecke <[email protected]> writes:
Hannes> Found by 0-day robot.
Applied to 4.10/scsi-queue.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering