From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Date: Thu, 08 Oct 2020 07:02:51 +0000 Subject: Re: [PATCH-next 0/4] RDMA: sprintf to sysfs_emit conversions Message-Id: <20201008070251.GH13580@unreal> List-Id: References: <20201008054128.GD13580@unreal> <2279bdda913b31bdea68c23a9889e056c3947201.camel@perches.com> In-Reply-To: <2279bdda913b31bdea68c23a9889e056c3947201.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Joe Perches Cc: Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org On Wed, Oct 07, 2020 at 10:52:15PM -0700, Joe Perches wrote: > 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... Of course, we just can't take it yet and test it in automatic way like we are doing now. Thanks > >