On Wed,  5 Mar 2008 00:29:56 +0800 Zhang Wei <[EMAIL PROTECTED]> wrote:
>
> +     if (!(rmem->virt = dma_alloc_coherent(NULL, rmem->size,
> +                             &rmem->iores.start, GFP_KERNEL))) {

Please separate assignments from tests.

> +     if ((ret = rio_space_claim(rmem))) {

Again.

-- 
Cheers,
Stephen Rothwell                    [EMAIL PROTECTED]
http://www.canb.auug.org.au/~sfr/

Attachment: pgp8E9Xb0ojn9.pgp
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to