On Wed, 5 Mar 2008 00:29:51 +0800 Zhang Wei <[EMAIL PROTECTED]> wrote:
>
> + if (!(rionet_active = (struct rio_dev **)__get_free_pages(GFP_KERNEL,
> + mport->sys_size ? __ilog2(sizeof(void *)) + 4
> + : 0))) {
Please separate the assignment from the test.
> + if (!(rswitch->route_table = kzalloc(sizeof(u8)*
> + RIO_MAX_ROUTE_ENTRIES(port->sys_size),
> + GFP_KERNEL))) {
Again.
--
Cheers,
Stephen Rothwell [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/
pgpaZiv34JFbp.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
