1
0

qcacmn: Fix variable uninitialized compiler error

Initialize revision_id to avoid compiler error as
'variable may be used uninitialized'.

Change-Id: Ia76b297e0f0f745284c7d0ede72a55dcc3d0dc65
CRs-Fixed: 2350601
Este cometimento está contido em:
Lin Bai
2018-11-15 15:40:11 +08:00
cometido por nshrivas
ascendente 700ad73754
cometimento e4599388bd

Ver ficheiro

@@ -3713,7 +3713,7 @@ QDF_STATUS hif_pci_enable_bus(struct hif_softc *ol_sc,
uint32_t hif_type, target_type;
struct hif_pci_softc *sc = HIF_GET_PCI_SOFTC(ol_sc);
struct hif_opaque_softc *hif_hdl = GET_HIF_OPAQUE_HDL(ol_sc);
uint16_t revision_id;
uint16_t revision_id = 0;
int probe_again = 0;
struct pci_dev *pdev = bdev;
const struct pci_device_id *id = (const struct pci_device_id *)bid;