On Tue, Apr 5, 2011 at 11:16 PM, Mark Kettenis <[email protected]>
wrote:

>> +     uaddr = km_alloc(USPACE, &kv_fork, &kp_dma_zero, &kd_waitok);
>>       if (uaddr == 0) {
>
> ...you should use NULL in the comparison here and drop the (struct
> user *) cast a bit further down.
>

Yup. I'll fix that after commit.

//art

Reply via email to