[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGRGNgX=oVxEhwvubLVC7=j-Tfgg3nyMBEObD0XjGbu2WDXBaA@mail.gmail.com>
Date: Sat, 30 Apr 2022 18:01:53 +1000
From: Julian Calaby <julian.calaby@...il.com>
To: Xuezhi Zhang <zhangxuezhi1@...lpad.com>
Cc: "James E. J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Linux SCSI List <linux-scsi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] scsi: pmcraid: convert sysfs snprintf to sysfs_emit
Hi Xuezhi,
On Sat, Apr 30, 2022 at 2:18 PM Xuezhi Zhang <zhangxuezhi1@...lpad.com> wrote:
>
> Fix the following coccicheck warnings:
> drivers/scsi/pmcraid.c:3591:8-16:
> WARNING: use scnprintf or sprintf
> drivers/scsi/pmcraid.c:3557:8-16:
> WARNING: use scnprintf or sprintf
> drivers/scsi/pmcraid.c:3496:8-16:
> WARNING: use scnprintf or sprintf
>
> Signed-off-by: Xuezhi Zhang <zhangxuezhi1@...lpad.com>
> ---
> v2: fix the sysfs_emt error.
> ---
> arch/arm64/configs/defconfig | 4 ++++
> drivers/scsi/pmcraid.c | 8 +++-----
> 2 files changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 476c5a9488d0..8688ed761cfd 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -1295,3 +1295,7 @@ CONFIG_DEBUG_KERNEL=y
> # CONFIG_DEBUG_PREEMPT is not set
> # CONFIG_FTRACE is not set
> CONFIG_MEMTEST=y
> +CONFIG_UEVENT_HELPER=y
> +CONFIG_UEVENT_HELPER_PATH="/sbin/mdev"
> +CONFIG_INITRAMFS_SOURCE="_install_arm64"
> +
Did you mean to include this change?
Thanks,
--
Julian Calaby
Email: julian.calaby@...il.com
Profile: http://www.google.com/profiles/julian.calaby/
Powered by blists - more mailing lists