linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] Fix virtio-ports rule to use $attr instead of $ATTR
@ 2010-03-03 23:40 Martin Pitt
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Pitt @ 2010-03-03 23:40 UTC (permalink / raw)
  To: linux-hotplug

Hey AMit,

Amit Shah [2010-02-26 14:05 +0530]:
> Newer udev versions don't understand $ATTR.

Nice catch! Applied to trunk.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH] Fix virtio-ports rule to use $attr instead of $ATTR
@ 2010-02-26  8:47 Amit Shah
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Shah @ 2010-02-26  8:47 UTC (permalink / raw)
  To: linux-hotplug

Newer udev versions don't understand $ATTR.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
---
 rules/rules.d/50-udev-default.rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules
index f8556d1..da1535f 100644
--- a/rules/rules.d/50-udev-default.rules
+++ b/rules/rules.d/50-udev-default.rules
@@ -18,7 +18,7 @@ KERNEL="mwave",		GROUP="dialout"
 KERNEL="hvc*|hvsi*",		GROUP="dialout"
 
 # virtio serial / console ports
-KERNEL="vport*", SYMLINK+="virtio-ports/$ATTR{name}"
+KERNEL="vport*", SYMLINK+="virtio-ports/$attr{name}"
 
 # mem
 KERNEL="null|zero|full|random|urandom", MODE="0666"
-- 
1.6.2.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-03 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-03 23:40 [PATCH] Fix virtio-ports rule to use $attr instead of $ATTR Martin Pitt
  -- strict thread matches above, loose matches on Subject: below --
2010-02-26  8:47 Amit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).