Re: [PCMCIA] Check return status of register calls in i82365

From: Andrew Morton
Date: Fri May 21 2004 - 20:01:15 EST


Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> i82365 calls driver_register and platform_device_register without
> checking their return values. This patch fixes that.

It does more than that - you've also changed it to run platform_device_register()
prior to isa_probe(). How come?
-
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/