All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Berberig <s.berberig@arcor.de>
To: linux-acpi@vger.kernel.org
Subject: Re: [PATCH] ACPI: bay: send envp with uevent - fix
Date: Sat, 23 Jun 2007 01:12:58 +0200	[thread overview]
Message-ID: <467C577A.5010904@arcor.de> (raw)
In-Reply-To: <466A719F.3010509@arcor.de>

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 <s.berberig@arcor.de>
> CC: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
> 
> --- 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);
>  }
>  


      reply	other threads:[~2007-06-22 23:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-09  9:23 ACPI: bay: send envp with uevent - fix Stephan Berberig
2007-06-22 23:12 ` Stephan Berberig [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=467C577A.5010904@arcor.de \
    --to=s.berberig@arcor.de \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.