[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220125005156.63C7EC340E4@smtp.kernel.org>
Date: Mon, 24 Jan 2022 16:51:54 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Qing Wang <wangqing@...o.com>, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: mike.looijmans@...ic.nl, Qing Wang <wangqing@...o.com>
Subject: Re: [PATCH RESEND] clk-si5341: replace snprintf in show functions with sysfs_emit
Quoting Qing Wang (2021-10-14 23:45:28)
> coccicheck complains about the use of snprintf() in sysfs show functions.
>
> Fix the following coccicheck warning:
> drivers/clk/clk-si5341.c:1471: WARNING: use scnprintf or sprintf.
> drivers/clk/clk-si5341.c:1486: WARNING: use scnprintf or sprintf.
> drivers/clk/clk-si5341.c:1501: WARNING: use scnprintf or sprintf.
> drivers/clk/clk-si5341.c:1516: WARNING: use scnprintf or sprintf.
>
> Use sysfs_emit instead of scnprintf or sprintf makes more sense.
>
> Signed-off-by: Qing Wang <wangqing@...o.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists