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 8B818C4363C for ; Thu, 8 Oct 2020 05:41:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 33BBF2087D for ; Thu, 8 Oct 2020 05:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602135695; bh=DQOPFcbgjR1Ctf/u+f8XFQ9sBqwbx8OZySFosz7p3mI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=xR6YS0zTvDZkyDC/qhNVm5i9lslvhsaxZI3TElMhgIzswZkGLVpDvhxuD5qaJKrb9 giXqtiqbdO5JkVQ9+ZPBOGb8Ap6XF7eQE/cBkuAXuj+xHHBIlwqpfVUi4TTXOClb8O RKdcFVkveSBT4P+pjgIz3zdDgn+oHy8wWHL9mr9E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728586AbgJHFle (ORCPT ); Thu, 8 Oct 2020 01:41:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:56628 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728023AbgJHFld (ORCPT ); Thu, 8 Oct 2020 01:41:33 -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 CC01F206E9; Thu, 8 Oct 2020 05:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602135693; bh=DQOPFcbgjR1Ctf/u+f8XFQ9sBqwbx8OZySFosz7p3mI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AAMXPES+6mXIY3W8EjWyxU0vPUiHlvktxQQ6x+NGUWNfLcMtUdKnXvQldmZSQbkfp d8Z5vMDuI/kcjNUpVYRpXvaCmQ+5A8EetFqZBqOsBV2Bs1ZGAYmK5UB6l8RFy4rKh1 muOoSZ+I1yux+UT1WRhGC87EA9Q5CLuJoBd7QnQA= Date: Thu, 8 Oct 2020 08:41:28 +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: <20201008054128.GD13580@unreal> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks