Received: by 10.192.165.148 with SMTP id m20csp3270570imm; Mon, 23 Apr 2018 03:47:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx48y06yG30LKJh7fyydvCEtgqScZM5pmDki4puhs10KGGL44DCkPhEJjnCEQWxyAUT8c3fig X-Received: by 2002:a17:902:584:: with SMTP id f4-v6mr20170447plf.290.1524480451961; Mon, 23 Apr 2018 03:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524480451; cv=none; d=google.com; s=arc-20160816; b=Kb8n+I+asznZB975Fu6/wtk+HlQdUTT9n1qlawxtvLVkEJehQch78qNw3hPxS52b6D X5fOzQDPzffenvlCFympsYKOkxju0cjZqBLfv2h2jYpPi0KPu60oV1VFUjoAbz3hUzJz Gs5G8FKPk6ipfW5HTWIpHgzcxU6PgN0dwnrBKF5WojjHGuXKoBIo7HiTtyhwZH9YHe4i 5Ua5NIrOtIlqsaoYnVk+wdc1ZMDqEiI5oga2Kvfw2ZlIv4nIqvF3UAip1IHxs1t5TKD7 JIaqTLJqQ4dmMBpba9stzYrR1pTW8AXCin/Nh55gzlNb+6gVp0R1X6MILsOX7rqzKMzk DTvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=wbOB3cGUd2Ztw3ARlvWfOMFmibR7pVwxeo2m6A04Fx0=; b=N/uZ8qkWGJwCzS3Gud2OT3Zzrlq73f/7UEloUNyIdNCRCibNnMCxBrib4X4HbzE5RR +zfZyTvq9LH6XJvUH0PUInEY5SkZSlp6aaLDbyF7MQFVJOOVWkvwSV5rOr7vSvDML29l ERikgzwfPfRfyltQVkLGql50nBnsRV2YApNjTwxzae1+rQb1z4N5UTzIz93zJmWN6xtW up3Ut48C/lHZvSd04cWaRGbl8O7snz2wzZOZsy6i+z2cHhnFc8hXxZ25ZUQU+NvcDLVk avx+BTDZSgoIPx5vo0pUgK9GKzpxO1i+1Atvc1Le5nRGn5hPqbcBx3T/QvGkBSVmAMC3 hH0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13-v6si10771024plp.102.2018.04.23.03.47.17; Mon, 23 Apr 2018 03:47:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754770AbeDWKpN (ORCPT + 99 others); Mon, 23 Apr 2018 06:45:13 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48914 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754078AbeDWKpK (ORCPT ); Mon, 23 Apr 2018 06:45:10 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 90DC7D13; Mon, 23 Apr 2018 10:45:09 +0000 (UTC) Date: Mon, 23 Apr 2018 12:45:04 +0200 From: Greg Kroah-Hartman To: "Luis R. Rodriguez" Cc: Ben Hutchings , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH driver-core 2/2] test_firmware: fix setting old custom fw path back on exit, second try Message-ID: <20180423104504.GA26502@kroah.com> References: <20180404203712.zecit6po44qsde4c@xylophone.i.decadent.org.uk> <20180404203848.3txsangsvaxtxsu4@xylophone.i.decadent.org.uk> <20180418203808.GQ30543@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180418203808.GQ30543@wotan.suse.de> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 18, 2018 at 10:38:09PM +0200, Luis R. Rodriguez wrote: > On Wed, Apr 04, 2018 at 10:38:49PM +0200, Ben Hutchings wrote: > > Commit 65c79230576 tried to clear the custom firmware path on exit by > > writing a single space to the firmware_class.path parameter. This > > doesn't work because nothing strips this space from the value stored > > and fw_get_filesystem_firmware() only ignores zero-length paths. > > > > Instead, write a null byte. > > > > Fixes: 0a8adf58475 ("test: add firmware_class loader test") > > Fixes: 65c79230576 ("test_firmware: fix setting old custom fw path back on exit") > > Signed-off-by: Ben Hutchings > > Acked-by: Luis R. Rodriguez > > Greg, let me know if you want to take these two in now, or if you want me to > queue them up on my own and then send you what I get in the queue later. I can take them now, thanks. greg k-h