* [v2] Fixed a checkpatch error
@ 2018-06-14 6:32 Parth Y Shah
0 siblings, 0 replies; 2+ messages in thread
From: Parth Y Shah @ 2018-06-14 6:32 UTC (permalink / raw)
To: balbi, gregkh, linux-usb; +Cc: linux-kernel, Parth Y Shah
ERROR: code indent should use tabs where possible
Here, spaces are replaced by a tab in 2 lines.
Signed-off-by: Parth Y Shah <sparth1292@gmail.com>
---
Changes since v1:
* Updated commit description
* Removed one extra tab and replaced spaces with tab to resolve
checkpatch error
drivers/usb/gadget/configfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c
index efba66c..0251299 100644
--- a/drivers/usb/gadget/configfs.c
+++ b/drivers/usb/gadget/configfs.c
@@ -1217,8 +1217,8 @@ static void purge_configs_funcs(struct gadget_info *gi)
list_move_tail(&f->list, &cfg->func_list);
if (f->unbind) {
dev_dbg(&gi->cdev.gadget->dev,
- "unbind function '%s'/%p\n",
- f->name, f);
+ "unbind function '%s'/%p\n",
+ f->name, f);
f->unbind(c, f);
}
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [v2] Fixed a checkpatch error
@ 2018-06-14 6:42 Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2018-06-14 6:42 UTC (permalink / raw)
To: Parth Y Shah; +Cc: balbi, linux-usb, linux-kernel
On Thu, Jun 14, 2018 at 12:02:46PM +0530, Parth Y Shah wrote:
> ERROR: code indent should use tabs where possible
>
> Here, spaces are replaced by a tab in 2 lines.
>
> Signed-off-by: Parth Y Shah <sparth1292@gmail.com>
Your subject line needs work, please see how other subject lines are
composed for this subsystem.
Also note, please do not use anything but the drivers/staging/ area of
the kernel for beginning "I'm going to do checkpatch cleanups" type of
"learning to get changes into the kernel" work. That is a great place
to start with this, not in other subsystems where you might have
reviewers who do not care so much about whitespace cleanups like this.
So please learn the process there, and when you have it all working
well, then you could move on to other subsystems and areas of the
kernel, like this one, if you want to.
thanks,
greg k-h
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-14 6:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-14 6:32 [v2] Fixed a checkpatch error Parth Y Shah
-- strict thread matches above, loose matches on Subject: below --
2018-06-14 6:42 Greg Kroah-Hartman
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).