Re: [PATCH 1/2] firewire: Kill unnecessary buf check in device_attribute.show

Takashi Sakamoto
2024-01-22T08:56:09Z

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@fujitsu.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