lkml.org 
[lkml]   [2015]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] workqueue_internal.h: adjust tab alignment
Date
The comment for the current_pwq member in the worker struct has
not been tab aligned, which is inconsistent with the rest of the
code.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
I am currently studying interrupt code. While reading, my eyes stopped at this
line to figure out what's wrong. I hesitated to send this patch, but I think
it's less confusing (at least for my eyes) now.
---
kernel/workqueue_internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/workqueue_internal.h b/kernel/workqueue_internal.h
index 4521587..3dcd4be 100644
--- a/kernel/workqueue_internal.h
+++ b/kernel/workqueue_internal.h
@@ -28,7 +28,7 @@ struct worker {

struct work_struct *current_work; /* L: work being processed */
work_func_t current_func; /* L: current_work's fn */
- struct pool_workqueue *current_pwq; /* L: current_work's pwq */
+ struct pool_workqueue *current_pwq; /* L: current_work's pwq */
bool desc_valid; /* ->desc is valid */
struct list_head scheduled; /* L: scheduled works */

--
1.9.1


\
 
 \ /
  Last update: 2015-01-05 16:41    [W:0.041 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site