[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100414075009.GC4503@cr0.nay.redhat.com>
Date: Wed, 14 Apr 2010 15:50:09 +0800
From: Amerigo Wang <xiyou.wangcong@...il.com>
To: Tomohiro Kusumi <kusumi.tomohiro@...fujitsu.com>
Cc: "linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fix sdev_rw_attr macro for scsi device sysfs entries
On Wed, Apr 14, 2010 at 03:15:14PM +0900, Tomohiro Kusumi wrote:
>Hi
>
>This patch fixes sdev_rw_attr() macro for scsi device sysfs entries.
>It seems there is no such function snscanf in the current linux kernel,
Yes! Good catch!
>so it fails to compile scsi driver when someone try to add a new rw entry.
>This has been unfixed for a long time probably because current scsi device
>has no rw entries.
>
Really? I compiled it in my configuration, but i don't see any
compile error. Hmm, i think we are lucky, no one is using the macro
sdev_rw_attr() currently.
># grep snscanf . -rn
>./drivers/scsi/scsi_sysfs.c:489: snscanf (buf, 20, format_string, &sdev->field); \
>
>Thanks,
>Tomohiro Kusumi
>
>
>
>Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@...fujitsu.com>
Acked-by: WANG Cong <xiyou.wangcong@...il.com>
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists