On Sat, 2007-08-25 at 05:44 +0200, Kay Sievers wrote:

> --- a/drivers/firmware/dmi-id.c
> +++ b/drivers/firmware/dmi-id.c
> @@ -155,6 +155,7 @@ static int dmi_dev_uevent(struct device *dev, struct 
> kobj_uevent_env *env)
>                          sizeof(env->buf) - env->buflen);
>       if (len >= (sizeof(env->buf) - env->buflen))
>               return -ENOMEM;
> +     env->buflen += len;
>       return 0;
>  }
>  

Works for me too ..

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to