Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp116949ybg; Mon, 8 Jun 2020 18:04:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3iE4Rz+++hgpRoOKkmkjnCW/AWtcl9F1fGxxJGAyK3IXp7sLG4llCl7MnADzA8j19bUYh X-Received: by 2002:a17:906:6a4b:: with SMTP id n11mr22321147ejs.198.1591664691567; Mon, 08 Jun 2020 18:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591664691; cv=none; d=google.com; s=arc-20160816; b=bvodv1jmmyxos5V/cdFzg6OdX/om3zBlA22BNnLC/v4TtK8hVI8LH6cBaAo/7PUnSn mPpyLq2Qy01naPqdPwbOJWieNLvPr+mB8He8AjsOvykIBMfhUWD+5wUajdFnc2N1qKAE DLD+TJrIOSRZrRn8cFhjqlsmR7GxNf1T3Y3IbxsfvIXpFwPPElnog3kbaVOxQbPlxh3p w4COHRxCtg1hgxppUNSvYobtOZYaiN7xwcdXNwu4divHYwkvV+e2pm9lulL+1tHiYNyn DfhSz8JWYfMvUGjpta1cUnq+HTaeUDxUCMig+hJeRVV6IBLPyJVG3sKhthNjVXYqbV85 AVng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GcYIozrqvAaTYeNxI8RVox/ACghw69T3gi/WTDfq5SM=; b=qmjiJnOtSRtHlBq6+AdR5UFYYSr6PRpt+vEyoBCEZKuzzjbImafXC3L3XIhR1+jXm5 gOxZWfSsWs3ULmrPWeTPMb0tMGvlDimu7S9NyS6bTBySELiKH5HTVTCCRWFj0ZN1M3U5 qFdqvSN8aL3yAj5E0PU6H+X5uSNnfvEoMROLh4CuKDdAqyEUZZfvs3xHulBpDwuUSJ1Q JLBN0f64NxhMia6uvmIXryoi+IUZDaEDYLSmHJ1shDT+yoExpv2zkyVgrgBdYt60WmQz RuP4XYQzrRS6IdjO7sEiJ3kW3giZf91X2qBcgC80i/y+CiqirbJ4hcqUR3GurppT4Uly ZjZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yLcLmBS7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay19si9891015ejb.372.2020.06.08.18.04.25; Mon, 08 Jun 2020 18:04:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yLcLmBS7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731614AbgFIBCn (ORCPT + 99 others); Mon, 8 Jun 2020 21:02:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:52644 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728034AbgFHXHx (ORCPT ); Mon, 8 Jun 2020 19:07:53 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0B40D2089D; Mon, 8 Jun 2020 23:07:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591657672; bh=fD1Mv3OSJzmSUoaS2M1EiI+nfFsRVHr4ttthDic856o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yLcLmBS7FoL2qRPOE2hgzCre7I7T+KsLeat8v5PtKod9Z/buhtfotseDmmm/c30F0 YPtCBtvbLqFp/65XL8JfJyOPMmxCHkcjvaw8l7F/KFScY958AvQ1229gYgSodMtj6d iYFBEGykAfkAXyC/6NwBJ+XWIf9eb8g24a+KmYrs= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Paul M Stillwell Jr , Andrew Bowers , Jeff Kirsher , Sasha Levin , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Subject: [PATCH AUTOSEL 5.7 081/274] ice: fix PCI device serial number to be lowercase values Date: Mon, 8 Jun 2020 19:02:54 -0400 Message-Id: <20200608230607.3361041-81-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200608230607.3361041-1-sashal@kernel.org> References: <20200608230607.3361041-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul M Stillwell Jr [ Upstream commit 1a9c561aa35534a03c0aa51c7fb1485731202a7c ] Commit ceb2f00707f9 ("ice: Use pci_get_dsn()") changed the code to use a new function to get the Device Serial Number. It also changed the case of the filename for loading a package on a specific NIC from lowercase to uppercase. Change the filename back to lowercase since that is what we specified. Fixes: ceb2f00707f9 ("ice: Use pci_get_dsn()") Signed-off-by: Paul M Stillwell Jr Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher Signed-off-by: Sasha Levin --- drivers/net/ethernet/intel/ice/ice_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c index 599dab844034..545817dbff67 100644 --- a/drivers/net/ethernet/intel/ice/ice_main.c +++ b/drivers/net/ethernet/intel/ice/ice_main.c @@ -3126,7 +3126,7 @@ static char *ice_get_opt_fw_name(struct ice_pf *pf) if (!opt_fw_filename) return NULL; - snprintf(opt_fw_filename, NAME_MAX, "%sice-%016llX.pkg", + snprintf(opt_fw_filename, NAME_MAX, "%sice-%016llx.pkg", ICE_DDP_PKG_PATH, dsn); return opt_fw_filename; -- 2.25.1