Skip to content

Commit bf9c96b

Browse files
mchehabKAGA-KOKO
authored andcommitted
timers: Adjust a kernel-doc comment
Those three warnings can easily solved by using :: to indicate a code block: ./kernel/time/timer.c:1259: WARNING: Unexpected indentation. ./kernel/time/timer.c:1261: WARNING: Unexpected indentation. ./kernel/time/timer.c:1262: WARNING: Block quote ends without a blank line; unexpected unindent. While here, align the lines at the block. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Linux Doc Mailing List <linux-doc@vger.kernel.org> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: John Stultz <john.stultz@linaro.org> Link: https://lkml.kernel.org/r/f02e6a0ce27f3b5e33415d92d07a40598904b3ee.1525684985.git.mchehab%2Bsamsung@kernel.org
1 parent 1332a90 commit bf9c96b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎kernel/time/timer.c‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,18 +1251,18 @@ EXPORT_SYMBOL(try_to_del_timer_sync);
12511251
*
12521252
* Note: For !irqsafe timers, you must not hold locks that are held in
12531253
* interrupt context while calling this function. Even if the lock has
1254-
* nothing to do with the timer in question. Here's why:
1254+
* nothing to do with the timer in question. Here's why::
12551255
*
12561256
* CPU0 CPU1
12571257
* ---- ----
1258-
* <SOFTIRQ>
1259-
* call_timer_fn();
1260-
* base->running_timer = mytimer;
1261-
* spin_lock_irq(somelock);
1258+
* <SOFTIRQ>
1259+
* call_timer_fn();
1260+
* base->running_timer = mytimer;
1261+
* spin_lock_irq(somelock);
12621262
* <IRQ>
12631263
* spin_lock(somelock);
1264-
* del_timer_sync(mytimer);
1265-
* while (base->running_timer == mytimer);
1264+
* del_timer_sync(mytimer);
1265+
* while (base->running_timer == mytimer);
12661266
*
12671267
* Now del_timer_sync() will never return and never release somelock.
12681268
* The interrupt on the other CPU is waiting to grab somelock but

0 commit comments

Comments
 (0)