Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2684117imj; Mon, 11 Feb 2019 07:00:48 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib/K1s9S7E8A7xpZklj+GbktTb4ZsdoyKHbeBzAiTGJ7kOUWVx6KCbC8Z59J7EpznK5kLN7 X-Received: by 2002:a65:5844:: with SMTP id s4mr183018pgr.77.1549897248283; Mon, 11 Feb 2019 07:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549897248; cv=none; d=google.com; s=arc-20160816; b=IsqTryHCjzqkHRqqKKCfpvdGjQVNscrqcYTL845vBQ1nWpt+/xPn7zgR1WVmnTOGjv FVc8R5d+6Du2UcAyHGGB6bnlHShRyVriT4U+ga0CCyQBgD5yguKbgKVwEm9fV1YCIv8V 5vKCDhQ7NhKVBFnfGOFOHap9VqeBNJ4A+56yQLv/wHMo1cVD1skcM2UxbQ89+tQfW7ZY hrQ7YicIGaZJEr7rnUpioQMxsXwxjBAc2ubCm7D0PCZTkw5h1ELfrj8jA4T6Jlfc7fe9 Jq2q6x6O7Lp89DBfV1yJlebMFZ+rNU5MQ4lHNmHAtcuiWt06/XEvH5fAddJIMLmbGUn6 /z8w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=iE0N2QUCB5PvghWjbUdNsOiJkZLgDf9q0JGssYHU8bs=; b=zlYtuqO9qncQG4fKOiPCCmjnjaDCZdnDirF4WKyBGpfPC1c+RBgMRU808xWyJP3wwG 4PCRSWZbX8u7Suo+niSFbSgiPn8Y7brwSEt9X4Lfv889YR6+rSVup3IwT2NMJiOLdJKI AhqYpCkbcmGNDHnHAc1+mFhXwSfI9aQBTp5jVkuiyWKB9SsOxnpprYBPWDLpl/ejQ2OF Ldo/J9C9DbijYZtEqLp22rD++sbY/dLd7YeUvY4MWWfmU84Ra4BkjAZHr0dFUsHDtOAZ fdZyKRBrlcmP98rFSMCUajldd2zlGgSt3h9j40K/N/kFmCkAkh8Uv19RPjU/ofazEN0o oKjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PtmGIbyM; 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 ct12si9922531plb.422.2019.02.11.07.00.31; Mon, 11 Feb 2019 07:00:48 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=PtmGIbyM; 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 S2389824AbfBKO7g (ORCPT + 99 others); Mon, 11 Feb 2019 09:59:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:47332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389814AbfBKO7c (ORCPT ); Mon, 11 Feb 2019 09:59:32 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 DDC1A222A4; Mon, 11 Feb 2019 14:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549897172; bh=q+WiyQllU2ryxJxmPfxBSeh7R5UYCEBqrpIPK3/ha9Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PtmGIbyMChlvBatpRCelWOWxxqlT2KeyKY9BlXoaJsZQHLEnyEXNdEznrTOeiFfoy YliZx+kcNubxHaHx6iURWMmkvxj69Lqfs94yyik+MncrDlWaAlxHder583zAkkcYXE RepCdkpWhiXrQznqiyELRZBkG8bhi3VlCCVmNxTQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Scott Benesh , Ajish Koshy , Murthy Bhat , Mahesh Rajashekhara , Dave Carroll , Scott Teel , Kevin Barnett , Don Brace , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.14 113/205] scsi: smartpqi: correct host serial num for ssa Date: Mon, 11 Feb 2019 15:18:31 +0100 Message-Id: <20190211141835.901756757@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141827.214852402@linuxfoundation.org> References: <20190211141827.214852402@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit b2346b5030cf9458f30a84028d9fe904b8c942a7 ] Reviewed-by: Scott Benesh Reviewed-by: Ajish Koshy Reviewed-by: Murthy Bhat Reviewed-by: Mahesh Rajashekhara Reviewed-by: Dave Carroll Reviewed-by: Scott Teel Reviewed-by: Kevin Barnett Signed-off-by: Mahesh Rajashekhara Signed-off-by: Don Brace Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/smartpqi/smartpqi_init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/smartpqi/smartpqi_init.c b/drivers/scsi/smartpqi/smartpqi_init.c index bc15999f1c7c..cc27ae2e8a2d 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -653,6 +653,7 @@ struct bmic_host_wellness_driver_version { u8 driver_version_tag[2]; __le16 driver_version_length; char driver_version[32]; + u8 dont_write_tag[2]; u8 end_tag[2]; }; @@ -682,6 +683,8 @@ static int pqi_write_driver_version_to_host_wellness( strncpy(buffer->driver_version, "Linux " DRIVER_VERSION, sizeof(buffer->driver_version) - 1); buffer->driver_version[sizeof(buffer->driver_version) - 1] = '\0'; + buffer->dont_write_tag[0] = 'D'; + buffer->dont_write_tag[1] = 'W'; buffer->end_tag[0] = 'Z'; buffer->end_tag[1] = 'Z'; -- 2.19.1