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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27941C77B75 for ; Wed, 12 Apr 2023 06:08:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229551AbjDLGII (ORCPT ); Wed, 12 Apr 2023 02:08:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjDLGIH (ORCPT ); Wed, 12 Apr 2023 02:08:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E927F59F7; Tue, 11 Apr 2023 23:08:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 79540629DE; Wed, 12 Apr 2023 06:08:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86941C43445; Wed, 12 Apr 2023 06:08:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681279684; bh=DWLhw1m7G/zDwGl58pvMw6CRHHf4fXFZpnYnHVebmn4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fPl++0dVtjTPkdPzi4t+qT1kvKQf7yPfO9/JBYyroyYkXPr9AYxHNAzNtoq+4zY/u d7azs/MB3YmHqCtnbvsauXQxJd3IJpyB/BHfhzAdBSocOT2xCyUznFCptfavQC+zdQ 47eSidZILu03XJidqwbAg69SAWZ3wVZOnu6Uv5Mc= Date: Wed, 12 Apr 2023 08:08:02 +0200 From: Greg KH To: Florian Fainelli Cc: Jonathan Corbet , linux-kernel@vger.kernel.org, "open list:DOCUMENTATION" Subject: Re: [PATCH] Documentation: firmware: Clarify firmware path usage Message-ID: <2023041252-scorebook-unboxed-36f5@gregkh> References: <20230402135423.3235-1-f.fainelli@gmail.com> <87y1mzcq9y.fsf@meer.lwn.net> <1f4b874b-bd1e-17ff-51dd-19bf2d73214f@gmail.com> <87wn2i9i3l.fsf@meer.lwn.net> 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-doc@vger.kernel.org On Tue, Apr 11, 2023 at 03:21:31PM -0700, Florian Fainelli wrote: > On 4/11/23 15:20, Jonathan Corbet wrote: > > Greg KH writes: > > > > > On Mon, Apr 10, 2023 at 04:12:32PM -0700, Florian Fainelli wrote: > > > > I was not sure whether it was on purpose or not, Greg, will we break > > > > anyone's use case if we strip off \n from the firmware path passed via > > > > sysfs? > > > > > > I do not know, sorry. > > > > I would be amazed if anybody is putting newlines into their firmware > > path; that would be kind of a silly thing to do. > > > > That said, I've been amazed before. > > > > I'll go ahead and apply the docs patch, but it still doesn't really seem > > like the right fix to me. > > I will submit a patch that strips off newlines from sysfs provided firmware > paths and if this turns out to break someone's use case it could still be > reverted, sounds good? Sounds good.