Re: [patch 2.6.12-rc3] dell_rbu: Resubmitting patch for new Dell BIOS update driver

From: Andreas Henriksson
Date: Fri Jun 03 2005 - 07:27:49 EST


On Fri, Jun 03, 2005 at 01:58:48AM +0200, Marcel Holtmann wrote:

>
> > + if ((rc = fill_last_packet(data, length)) != 0)
>
> Use "if (!(rc = fill_last_packet(data, length)))".
>

Even better like this?

rc = fill_last_packet(data, length);
if (!rc)


>
> > + if ( rc == 0 )
>
> Spaces.
>

Plus use: if (!rc)


Regards,
Andreas Henriksson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/