sparc: Implement and wire up vio_hotplug for vio.
PATCH 2/2 sparc: Implement and wire up vio_hotplug for vio.
--- arch/sparc/kernel/vio.c | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/sparc/kernel/vio.c +9 -0
@@ -45,6 +45,14 @@ static const struct vio_device_id *vio_match_device(return NULL ; } +static int vio_hotplug (struct device *dev,struct kobj_uevent_env *env) +{ +const struct vio_dev *vio_dev =to_vio_dev (dev); + +add_uevent_var (env,"MODALIAS=vio:T%sS%s" , vio_dev->type, vio_dev->compat); +return 0 ; +} +static int vio_bus_match (struct device *dev,struct device_driver *drv) {struct vio_dev *vio_dev =to_vio_dev (dev);
@@ -123,6 +131,7 @@ static struct device_attribute vio_dev_attrs[] = {static struct bus_type vio_bus_type = { .name ="vio" , .dev_attrs = vio_dev_attrs, + .uevent = vio_hotplug, .match = vio_bus_match, .probe = vio_device_probe, .remove = vio_device_remove,
Signature · 1 line
2.8.0.rc3
Quoted 1 line · John Paul Adrian Glaubitz
Signed-off-by John Paul Adrian Glaubitz <[email protected]>
From: John Paul Adrian Glaubitz <[email protected]>
Date: Thu, 14 Apr 2016 20:14:42 +0200
Quoted 1 line
Signed-off-by John Paul Adrian Glaubitz <[email protected]>
Applied.
Quoted 6 lines · David Miller
From: John Paul Adrian Glaubitz <[email protected]>
Date: Thu, 14 Apr 2016 20:14:42 +0200Quoted 1 line
Signed-off-by John Paul Adrian Glaubitz <[email protected]>Applied.
Thanks!
However, I normally use my full name for all open source development, e.g. with all three first names. Do you think you could change that with git-rebase && git commit --amend --author?
Thanks,
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
David Miller
maintainerFrom: John Paul Adrian Glaubitz <[email protected]>
Date: Wed, 27 Apr 2016 23:05:01 +0200
Quoted 6 lines · David Miller
Quoted 5 lines
From: John Paul Adrian Glaubitz <[email protected]>
Date: Thu, 14 Apr 2016 20:14:42 +0200Quoted 1 line
Signed-off-by John Paul Adrian Glaubitz <[email protected]>
Quoted 7 lines
Quoted 1 line
Applied.
Thanks!
However, I normally use my full name for all open source development, e.g. with all three first names. Do you think you could change that with git-rebase && git commit --amend --author?
My tree may never be rebased, as people clone and do work against it, therefore any commit made there is permanent.
Please just be careful with patches you submit in the future, thanks.
Sorry.
Hi All,
Quoted 13 lines · David Miller
From: John Paul Adrian Glaubitz <[email protected]>
Date: Wed, 27 Apr 2016 23:05:01 +0200Quoted 10 lines · David Miller
Quoted 6 lines
From: John Paul Adrian Glaubitz <[email protected]>
Date: Thu, 14 Apr 2016 20:14:42 +0200Quoted 1 line
Signed-off-by John Paul Adrian Glaubitz <[email protected]>Applied.
Thanks!
Quoted 8 lines
Quoted 3 lines
However, I normally use my full name for all open source development, e.g. with all three first names. Do you think you could change that with git-rebase && git commit --amend --author?
My tree may never be rebased, as people clone and do work against it, therefore any commit made there is permanent.
Please just be careful with patches you submit in the future, thanks.
What's odd is that the name in the From: line of the original email is correct.
David, do you use patchwork? If so, it might be that John Paul Adrian's name is incorrect in there. (This has caused Kalle some issues in the past)
If so, one of you needs to fix this for any future submissions.
Thanks,
Signature · 4 lines
Julian Calaby Email: [email protected] Profile: http://www.google.com/profiles/julian.calaby/
David Miller
maintainerFrom: Julian Calaby <[email protected]>
Date: Thu, 28 Apr 2016 12:07:29 +1000
Quoted 1 line
David, do you use patchwork?
For everything, I use patchwork.
Hi David,
Quoted 7 lines · David Miller
From: Julian Calaby <[email protected]>
Date: Thu, 28 Apr 2016 12:07:29 +1000Quoted 1 line
David, do you use patchwork?
For everything, I use patchwork.
I thought so, but it doesn't hurt to check.
Thanks,
Signature · 4 lines
Julian Calaby Email: [email protected] Profile: http://www.google.com/profiles/julian.calaby/
Quoted 4 lines · David Miller
My tree may never be rebased, as people clone and do work against it, therefore any commit made there is permanent.
Please just be careful with patches you submit in the future, thanks.
Well, my patches are
so, I think did everything correctly on my side. I don't exactly know my name was cut off, but I guess it's too late now -.-.
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Hi!
Quoted 4 lines · John Paul Adrian Glaubitz
Quoted 3 lines · David Miller
My tree may never be rebased, as people clone and do work against it, therefore any commit made there is permanent.
Quoted 8 lines
Quoted 1 line
Please just be careful with patches you submit in the future, thanks.
Well, my patches are
Signed-off-by John Paul Adrian Glaubitz <[email protected]>so, I think did everything correctly on my side. I don't exactly know my name was cut off, but I guess it's too late now -.-.
I was just wondering: Would it be possible to ask Linus to fix my name when he pulls in the changes from the sparc tree? From what I can see, the current changes are not in Linus' tree yet, so there might be a chance to fix the problem.
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
David Miller
maintainerFrom: John Paul Adrian Glaubitz <[email protected]>
Date: Mon, 2 May 2016 01:13:19 +0200
Quoted 13 lines
Hi!
Quoted 10 lines · John Paul Adrian Glaubitz
Quoted 4 lines · David Miller
My tree may never be rebased, as people clone and do work against it, therefore any commit made there is permanent.
Please just be careful with patches you submit in the future, thanks.
Well, my patches are
Signed-off-by John Paul Adrian Glaubitz <[email protected]>
Quoted 7 lines
Quoted 2 lines
so, I think did everything correctly on my side. I don't exactly know my name was cut off, but I guess it's too late now -.-.
I was just wondering: Would it be possible to ask Linus to fix my name when he pulls in the changes from the sparc tree? From what I can see, the current changes are not in Linus' tree yet, so there might be a chance to fix the problem.
Doesn't work like that, the commit message is part of the SHA1 ID hash and that cannot change.