Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2655592imj; Mon, 11 Feb 2019 06:33:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IZqvsorDeLQ6U5yreEFY3EVNzPuz/Cntl3qWP2RQzbCwGqO4MwqeXfiPOjUWJJhq832ScHx X-Received: by 2002:a62:138f:: with SMTP id 15mr12698250pft.219.1549895593214; Mon, 11 Feb 2019 06:33:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549895593; cv=none; d=google.com; s=arc-20160816; b=CFAzf+/AtYc7yIZKBPic53DWSdmxFgzBi2b98uVpzLGM5qPoip7h1qaUZAFt8CucWG vSnY8fkdJHxveX2YVcvp1FQeOTD5Xswju0DYn2nB5wPkqjLFjGnqvolEHLu1zit9VkCj aiYA8Gubyo7SNiKU32F1q/GAOitUtBS/VSWYBz7/mqYqnhsYLac/9x3utXHCo6Ofonot 3GXClz+HDUgKceA4WX0kbPhqY2P/xkueY6pNKkwxvmVlEWiyEbMQeeASoEMZhegKTyS7 2jPa6OXXiUvwXip9lQJ3F/1YTrm9gBqoLNdNRm5H/jGCLq35PLqFEjlaGhcUPLMoTgEN knmQ== 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=qMgpJsJLoqEmGznmCQFNIvMW9Oz0Qq2RWbmTIzfTnRk=; b=EaNw3rgG2j/4IAI05IwtVIaL3KhF3sovadNsZILgGHfIuMq9kruZz56jlk0haQYx2Z 1ZAuz/D545JFKVl92RiCG/jGySF9GFNcHHVciqgiIitswThb+mj7H0eZeUmaUO1GdeSd W31WS1iTGHfQGjGlgI2i5SU1Z+uPw9t5AEqrnb0Z4+cfNZsqyDJnKYA03ALeVOjsZEpW KW9ZTvZKPsM2kfeYkvDW52o89VsPL+ZzyRAxAMMdeKLzM1bV9ETtalZ2o3wUv3WaULTL 9AlmpxRWtZzjf3eNBifJb0cDq7IfiPmulxhq/9X47Ov/AEIfrddvcNeD7aHu+wzbAXkM 1IcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="l/DNcqyn"; 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 v66si9900822pfa.188.2019.02.11.06.32.56; Mon, 11 Feb 2019 06:33:13 -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="l/DNcqyn"; 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 S1730503AbfBKOci (ORCPT + 99 others); Mon, 11 Feb 2019 09:32:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:40052 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730229AbfBKOcf (ORCPT ); Mon, 11 Feb 2019 09:32:35 -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 62CB3214DA; Mon, 11 Feb 2019 14:32:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895554; bh=UN9tpgvh6MxqFeaitpgnASkdsam5da5U/icbsbP4DrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l/DNcqyncHsgeKdOrR4nDRBOH9kBfcNmgGIPzDtDUDfZAPRFtzSuRbN60w+ONKQas KDZ+yH8Px/GGdnQlh9ioYdsjwunShRWSlmHAeRqEx19jjPThqiYkFmEqZw31fBKBXh nSGymOXkcRCrrlBgXRJ/cOFMRXIJcdoZVt3/MXFM= 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.20 214/352] scsi: smartpqi: correct host serial num for ssa Date: Mon, 11 Feb 2019 15:17:21 +0100 Message-Id: <20190211141900.821788967@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@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.20-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 6f4cb3be97aa..5a86dddbd8ba 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -640,6 +640,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]; }; @@ -669,6 +670,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