projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdfe0df
)
sysfs: fix blank line coding style warning
author
Stephen Martin
<lockwood@opperline.com>
Thu, 20 Dec 2018 21:50:28 +0000
(13:50 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Jan 2019 15:45:17 +0000
(16:45 +0100)
Fixed a coding style issue.
Signed-off-by: Stephen Martin <lockwood@opperline.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sysfs/file.c
b/fs/sysfs/file.c
index 51398457fe00e8874d81468be72c260470186cb9..52d9235e0291749e7d2a7e4b10f3a2820307189b 100644
(file)
--- a/
fs/sysfs/file.c
+++ b/
fs/sysfs/file.c
@@
-497,6
+497,7
@@
bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)
void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *ptr)
{
int i;
+
for (i = 0; ptr[i]; i++)
sysfs_remove_file(kobj, ptr[i]);
}