Re: [PATCH-next 0/4] RDMA: sprintf to sysfs_emit conversions
From: Joe Perches
Date: Thu Oct 08 2020 - 01:52:26 EST
On Thu, 2020-10-08 at 08:41 +0300, Leon Romanovsky wrote:
> On Wed, Oct 07, 2020 at 07:36:23PM -0700, Joe Perches wrote:
> > A recent commit added a sysfs_emit and sysfs_emit_at to allow various
> > sysfs show functions to ensure that the PAGE_SIZE buffer argument is
> > never overrun and always NUL terminated.
>
> Unfortunately but the sysfs_emit commit is not in rdma-next tree yet.
Likely it'll still apply fairly well when the sysfs_emit commit is...