Re: [patch] fix alpha atkbd oops

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Fri Oct 11 2002 - 04:54:40 EST


On Thu, Oct 10, 2002 at 05:34:34PM -0700, Richard Henderson wrote:
> When called from
>
> if (atkbd_reset)
> if (atkbd_command(atkbd, NULL, ATKBD_CMD_RESET_BAT))
>
> in atkbd_probe, we'll crash trying to write back the results
> into the null pointer.
>
> The interface to atkbd_command seems more sensible to allow
> a null pointer to indicate that the caller doesn't care about
> the received data than to supply a dummy pointer here.

Thanks, applied.

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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:41 EST