Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/usb
On Fri, Apr 20, 2018 at 05:03:00PM -0400, Christos Zoulas wrote:
> Module Name: src
> Committed By: christos
> Date: Fri Apr 20 21:03:00 UTC 2018
>
> Modified Files:
> src/sys/dev/usb: if_axe.c
>
> Log Message:
> It was not gcc's fault for correctly detecting an uninitialized variable.
> Fix the uninitialized variable issues by error checking things.
@@ -507,7 +511,7 @@
ifp->if_flags &= ~IFF_ALLMULTI;
rxmode |= AXE_RXCMD_MULTICAST;
- axe_cmd(sc, AXE_CMD_WRITE_MCAST, 0, 0, (void *)&hashtbl);
+ axe_cmd(sc, AXE_CMD_WRITE_MCAST, 0, 0, hashtbl);
missing & ?
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index