From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29EC1C433E7 for ; Thu, 8 Oct 2020 07:02:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C901521897 for ; Thu, 8 Oct 2020 07:02:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602140576; bh=90eHIIizkxdX1x4dde+tKCctVxWb1ysxQGsCoDqGFEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=k11lO7Oguum2rucNi3GiJvTDTHY7lkknhws4DT1qfPuGr3FFmL9L2j/aq+Gv+ELLs +VSKXB+KZSe3/b3SIUK3rrKkdHofSSJ8OkCtVvsbxpPkeajteCvAYzaPl9Jm+1nYci 92gEBRQkZI0n2kneR8WJysmkjVSlLwh7xJ0kEQtQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728314AbgJHHCz (ORCPT ); Thu, 8 Oct 2020 03:02:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:58404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbgJHHCz (ORCPT ); Thu, 8 Oct 2020 03:02:55 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5094D217BA; Thu, 8 Oct 2020 07:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602140575; bh=90eHIIizkxdX1x4dde+tKCctVxWb1ysxQGsCoDqGFEE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EG1DURmPoDW3HqTOWlEO++tVoLmuM8qyuJz/px4S7rDO2kr2GRpw7lQCbGKN/sn+l GFxZs+GvgNxgKHmSbkM3s3iejknBR12hsJHHQyi8X7lAa05SN5br4DA6vz6NGL/2Ci lDE+twm3JI31a50k0QXgrkoFb0Y9X9PAvH8fQazA= Date: Thu, 8 Oct 2020 10:02:51 +0300 From: Leon Romanovsky To: Joe Perches Cc: Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH-next 0/4] RDMA: sprintf to sysfs_emit conversions Message-ID: <20201008070251.GH13580@unreal> References: <20201008054128.GD13580@unreal> <2279bdda913b31bdea68c23a9889e056c3947201.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2279bdda913b31bdea68c23a9889e056c3947201.camel@perches.com> Precedence: bulk List-ID: X-Mailing-List: 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 > >