mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
Fixed a sparse warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -377,7 +377,7 @@ static ssize_t vdisk_mgmt_show(struct kobject *kobj,
|
||||
static ssize_t vdisk_mgmt_store(struct kobject *kobj,
|
||||
struct kobj_attribute *attr, const char *buf, size_t count);
|
||||
|
||||
struct kobj_attribute vdisk_mgmt_attr =
|
||||
static struct kobj_attribute vdisk_mgmt_attr =
|
||||
__ATTR(mgmt, S_IRUGO | S_IWUSR, vdisk_mgmt_show, vdisk_mgmt_store);
|
||||
|
||||
static const struct attribute *vdisk_attrs[] = {
|
||||
|
||||
Reference in New Issue
Block a user