PERFORCE change 115371 for review
John Baldwin
jhb at freebsd.org
Mon Mar 5 22:31:26 UTC 2007
On Monday 05 March 2007 17:04, Paolo Pisati wrote:
> http://perforce.freebsd.org/chv.cgi?CH=115371
>
> Change 115371 by piso at piso_newluxor on 2007/03/05 22:04:19
>
> Wrap at 80 ppbus_setup_intr().
You can remove the cast instead. C doesn't require casts for void * pointers.
> Affected files ...
>
> .. //depot/projects/soc2006/intr_filter/dev/ppbus/ppbconf.c#5 edit
>
> Differences ...
>
> ==== //depot/projects/soc2006/intr_filter/dev/ppbus/ppbconf.c#5 (text+ko)
====
>
> @@ -421,7 +421,8 @@
> {
> int error;
> struct ppb_data *ppb = DEVTOSOFTC(bus);
> - struct ppb_device *ppbdev = (struct ppb_device *)device_get_ivars(child);
> + struct ppb_device *ppbdev =
> + (struct ppb_device *)device_get_ivars(child);
>
> /* a device driver must own the bus to register an interrupt */
> if (ppb->ppb_owner != child)
>
--
John Baldwin
More information about the p4-projects
mailing list