Re: [patch] fix alpha atkbd oops
Vojtech Pavlik (vojtech@suse.cz)
Fri, 11 Oct 2002 11:54:40 +0200
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/