[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240122085604.GA254251@workstation.local>
Date: Mon, 22 Jan 2024 17:56:04 +0900
From: Takashi Sakamoto <o-takashi@...amocchi.jp>
To: Li Zhijian <lizhijian@...itsu.com>
Cc: linux-kernel@...r.kernel.org, linux1394-devel@...ts.sourceforge.net
Subject: Re: [PATCH 1/2] firewire: Kill unnecessary buf check in
device_attribute.show
Hi,
On Mon, Jan 22, 2024 at 01:39:41PM +0800, Li Zhijian wrote:
> Per Documentation/filesystems/sysfs.rst:
> > sysfs allocates a buffer of size (PAGE_SIZE) and passes it to the
> > method.
>
> So we can kill the unnecessary buf check safely.
>
> Signed-off-by: Li Zhijian <lizhijian@...itsu.com>
> ---
> drivers/firewire/core-device.c | 14 +++-----------
> 1 file changed, 3 insertions(+), 11 deletions(-)
Applied both patches to linux-next branch, since they are not so-urgent
fixes.
Thanks
Takashi Sakamoto
Powered by blists - more mailing lists