lkml.org 
[lkml]   [2019]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: md-multipath: Replace a seq_printf() call by seq_putc() in multipath_status()
From
Date
>> A single character (depending on a condition check) should be put
>> into a sequence. Thus use the corresponding function “seq_putc”.

> Can you explain why this is necessary?

I suggest another bit of software fine-tuning.

* Pass only a relevant character instead of a string.

* Omit the format string for a function parameter.

Regards,
Markus

\
 
 \ /
  Last update: 2019-07-03 18:29    [W:0.042 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site