[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Rewrite mdio_read() in linkdetect.c for strict aliasing rules.



Chris Lumens wrote:
Can't cast from a void pointer to struct mii_ioctl_data.  Create
a local variable and copy in to struct ifreq and back out again
to do the same thing.

Fixes a build problem with rawhide.  It's got my vote.

Pushed, but there are two more.  Patches in just a bit here.

--
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]