[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160927083017.zjpiojs4fsnj3hwt@linux-x5ow.site>
Date: Tue, 27 Sep 2016 10:30:17 +0200
From: Johannes Thumshirn <jthumshirn@...e.de>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] sysfs print name of undiscoverable attribute group
On Mon, Sep 19, 2016 at 10:14:54AM +0200, Johannes Thumshirn wrote:
> Print the name of an undiscoverable attribute group and not the
> pointer's address.
>
> Signed-off-by: Johannes Thumshirn <jthumshirn@...e.de>
> ---
> fs/sysfs/group.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
> index dc1358b..ac2de0e 100644
> --- a/fs/sysfs/group.c
> +++ b/fs/sysfs/group.c
> @@ -233,8 +233,8 @@ void sysfs_remove_group(struct kobject *kobj,
> kn = kernfs_find_and_get(parent, grp->name);
> if (!kn) {
> WARN(!kn, KERN_WARNING
> - "sysfs group %p not found for kobject '%s'\n",
> - grp, kobject_name(kobj));
> + "sysfs group '%s' not found for kobject '%s'\n",
> + grp->name, kobject_name(kobj));
> return;
> }
> } else {
> --
> 1.8.5.6
>
Ping?
--
Johannes Thumshirn Storage
jthumshirn@...e.de +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850
Powered by blists - more mailing lists