Thread (3 messages) flat view 3 messages, 3 authors, 2021-10-18

Re: [PATCH] wireless: ath5k: replace snprintf in show functions with sysfs_emit

From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2021-10-13 12:36:26
Also in: linux-wireless, lkml

On Tue, Oct 12, 2021 at 08:27:31PM -0700, Qing Wang wrote:
coccicheck complains about the use of snprintf() in sysfs show functions.

Fix the coccicheck warning:
WARNING: use scnprintf or sprintf.

Use sysfs_emit instead of scnprintf or sprintf makes more sense.

Signed-off-by: Qing Wang <redacted>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help