Thanks Christian!

OK gnezdo@ is somebody want to commit this. I confirmed that it builds too.

Christian Ludwig <[email protected]> writes:

> There is a return missing in one of the error paths of igc_init().
> ---
>  sys/dev/pci/if_igc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/sys/dev/pci/if_igc.c b/sys/dev/pci/if_igc.c
> index 734bc8b0275..7f5fcb98b99 100644
> --- a/sys/dev/pci/if_igc.c
> +++ b/sys/dev/pci/if_igc.c
> @@ -910,6 +910,7 @@ igc_init(void *arg)
>                           DEVNAME(sc));
>                       igc_stop(sc);
>                       splx(s);
> +                     return;
>               }
>               IGC_WRITE_REG(&sc->hw, IGC_RDT(i),
>                   (rxr->last_desc_filled + 1) % sc->num_rx_desc);

Reply via email to