[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq14k2djkrt.fsf@ca-mkp.ca.oracle.com>
Date: Thu, 28 Apr 2022 11:22:31 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Xuezhi Zhang <zhangxuezhi1@...lpad.com>
Cc: jejb@...ux.ibm.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: pmcraid: convert sysfs snprintf to sysfs_emit
Xuezhi,
> @@ -3554,8 +3554,7 @@ static ssize_t pmcraid_show_drv_version(
> char *buf
> )
> {
> - return snprintf(buf, PAGE_SIZE, "version: %s\n",
> - PMCRAID_DRIVER_VERSION);
> + return sysfs_emt(buf, "version: %s\n", PMCRAID_DRIVER_VERSION);
^^^^^^^^^
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists