[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220127013554.GA943@hoboy.vegasvil.org>
Date: Wed, 26 Jan 2022 17:35:54 -0800
From: Richard Cochran <richardcochran@...il.com>
To: davidcomponentone@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Yang Guang <yang.guang5@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] ptp: replace snprintf with sysfs_emit
On Thu, Jan 27, 2022 at 08:02:36AM +0800, davidcomponentone@...il.com wrote:
> From: Yang Guang <yang.guang5@....com.cn>
>
> coccinelle report:
> ./drivers/ptp/ptp_sysfs.c:17:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/ptp/ptp_sysfs.c:390:8-16:
> WARNING: use scnprintf or sprintf
>
> Use sysfs_emit instead of scnprintf or sprintf makes more sense.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Yang Guang <yang.guang5@....com.cn>
> Signed-off-by: David Yang <davidcomponentone@...il.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists