* [PATCH] fix blank line warning
@ 2018-12-20 21:50 Stephen Martin
0 siblings, 0 replies; only message in thread
From: Stephen Martin @ 2018-12-20 21:50 UTC (permalink / raw)
To: gregkh; +Cc: rafael, linux-kernel, Stephen Martin
Fixed a coding style issue.
Signed-off-by: Stephen Martin <lockwood@opperline.com>
---
fs/sysfs/file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index 0a7252aecfa5..4568cf52badc 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -496,6 +496,7 @@ bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr)
void sysfs_remove_files(struct kobject *kobj, const struct attribute **ptr)
{
int i;
+
for (i = 0; ptr[i]; i++)
sysfs_remove_file(kobj, ptr[i]);
}
--
2.20.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-20 21:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20 21:50 [PATCH] fix blank line warning Stephen Martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).