Hi Len,
any news about applying this patch to acpi-test?
I got Kristen's Acked-by by private email.
Best regards,
Stephan
Stephan Berberig schrieb:
> Hi,
> attached a patch to fix the bay uevent so that udev doesn't get confused.
>
> Kristen, could I get your Acked-by?
>
> Best regards,
> Stephan
>
>
> ------------------------------------------------------------------------
>
> There must not be a new-line character in the uevent. Otherwise, udev gets
> confused.
> Thanks to Kay Sievers for pointing it out.
>
> Signed-off-by: Stephan Berberig <[EMAIL PROTECTED]>
> CC: Kristen Carlson Accardi <[EMAIL PROTECTED]>
>
> --- a/drivers/acpi/bay.c 2007-06-08 12:01:11.000000000 +0200
> +++ b/drivers/acpi/bay.c 2007-06-08 12:02:49.000000000 +0200
> @@ -337,7 +337,7 @@
> char *envp[] = { event_string, NULL };
>
> bay_dprintk(handle, "Bay event");
> - sprintf(event_string, "BAY_EVENT=%d\n", event);
> + sprintf(event_string, "BAY_EVENT=%d", event);
> kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
> }
>
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html