Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1584498imm; Thu, 18 Oct 2018 00:16:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV62xN4WO8Rq+MUd1nmC8KOyeDYWhNcJY6PUgvB0pJq+1aNfpYrk0pmRXKltN9G0NJAQWGlJi X-Received: by 2002:a62:e091:: with SMTP id d17-v6mr29087712pfm.214.1539847019507; Thu, 18 Oct 2018 00:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539847019; cv=none; d=google.com; s=arc-20160816; b=kfHsz9AdHjJbQqy3Qtoq3g/0wwQcaJOEATj4jfxWHcqzDgqwZODKOBoG2zb7AdI52h ZGMs2sLM9VUPzMEz17e4OUQGrHQMFxdTLT0W1Otw+4svAqm7gSgeJHIYXOaV6SEYTiZg 04RgSa5E82RcLv2CLY5I1I241UoJ+LCfjv5whM+Op78FzPOI+pBcoPaVOzTkKMk8Dt+n 3q/3e7u9chYXqqp6imHhGXlw6evBT113PEDsoEaO7OhmX+gv3p0/Wgh1bURjx76KZ8lo x+3BL2gy+6znXsk5cn+QNJUPdZ5SmVNb3H5NKy9wUtbbMTVY6MlKQZHfkAmBPKbtYS5O YUUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FyuFzcEQH2PI2Z1BPcQ0AM/syJ5Q+StfzBsWc9otInk=; b=NyUhW9smZl4kQ/up0eKp3VyWcZrwbo/Uxd+Vwzvmmy1jd1J4Dsbw5krjPoW7yxE/lD BUL3B9frZ+eAH/08PA+teUzhKrRUaWx573T1zN6g0MV3R/qv4PmQDFrQa458B3w6lVdE o5R227nT/EZ5X3uDIwnW9zjqBZB1XU31rBq4Q1M8m+NEFB2vtLJs9gs/FiHHuKFpDKDc ugAz9Rduxq+SmPAYTnbcyU2dmbh8Ao8fZYT+eauDFEoeBvHqn0hKN+6zzya1DUSISetu r2/0yWZ/QIjkCFQlaWSnkhb2keV0kMCM8ZFkoqOBAM4cGIsf8fCD7DoGb6Q1DhDiVwyD QoTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=e5qoWcpL; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7-v6si19402595plo.191.2018.10.18.00.16.43; Thu, 18 Oct 2018 00:16:59 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=e5qoWcpL; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727691AbeJRPPZ (ORCPT + 99 others); Thu, 18 Oct 2018 11:15:25 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:37932 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727359AbeJRPPZ (ORCPT ); Thu, 18 Oct 2018 11:15:25 -0400 Received: by mail-qk1-f195.google.com with SMTP id 204-v6so18146384qkd.5 for ; Thu, 18 Oct 2018 00:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FyuFzcEQH2PI2Z1BPcQ0AM/syJ5Q+StfzBsWc9otInk=; b=e5qoWcpLq3QTglkiubqBlBlczLWIrid3yBKj03nFvGZgfC8a3S1/RaFGn36OUh69t3 DTS5Tb9YY0K4nwu1YWV4Uk6vFZ6TKr4V23HNd6j+SUXqKKRBjYWzhWMG1FjnKqcTlU1Q 6ldfRqD8YncDrORItC94ZzgTGzHW01S7TXuQU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FyuFzcEQH2PI2Z1BPcQ0AM/syJ5Q+StfzBsWc9otInk=; b=Vgeh2rluSCdG9hH81g5lAwblu/RhpfrGJQOumfd1sESukcBR3jyT/7hzffpf5780I0 4z1/YWRMV9ahtO2BnEwoc6jQ5Df2+xZ7RBtUMT7xCfKybs02xARfcfkAMiZY9f8cxVAw a6R+72aHcNFn+woX1HDTWYo2K6BYYPiwts5wEx3HoJhurGIyvdtgtFusSXpO9sS2H6/Q PGks4enCfRHztR6S8O7QkP7B1KtgyLkiwHmBmD0Nt0EGNy0N+D/wF1zTkQv9lFh0Jouk EX7E0rjj5od8V/i3pSxRmaRTATByFliqRRTdVOuC4a1SZ8ID9HlGV1SfLOXjM9PLKpEE eYog== X-Gm-Message-State: ABuFfohNfGk/eJbPKPlH+zF4d/YxaSwo0k5g5O2J+Wv5LHpdjam1JcEE Ora4EIVuYCPaF1357MRgJJuoOPPHZ0psnCZieJwOFQ== X-Received: by 2002:a37:e21a:: with SMTP id g26-v6mr27082141qki.330.1539846947855; Thu, 18 Oct 2018 00:15:47 -0700 (PDT) MIME-Version: 1.0 References: <1539755947-27014-1-git-send-email-suganath-prabu.subramani@broadcom.com> <1539755947-27014-4-git-send-email-suganath-prabu.subramani@broadcom.com> In-Reply-To: From: Suganath Prabu Subramani Date: Thu, 18 Oct 2018 12:46:29 +0530 Message-ID: Subject: Re: [v5 3/4] mpt3sas:Fix driver modifying persistent data. To: Andy Shevchenko Cc: helgaas@kernel.org, lukas@wunner.de, linux-scsi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, benh@kernel.crashing.org, ruscur@russell.cc, sbobroff@linux.ibm.com, Oliver , Sathya Prakash , Sreekanth Reddy Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 17, 2018 at 1:54 PM Andy Shevchenko wrote: > > On Wed, Oct 17, 2018 at 8:59 AM Suganath Prabu > wrote: > > > > * If EEDPTagMode field in manufacturing page11 is set, > > unset it. This is needed to fix a hardware bug > > in SAS3/SAS2 cards, So, skipping EEDPTagMode changes > > in Manufacturing page11 for SAS35 controllers. > > > > * Fix driver modifying NVRAM/persistent data in > > Manufacturing page11 along with current copy. Driver should > > change only current copy of Manufacturing page11. > > > - if (ioc->manu_pg11.EEDPTagMode == 0) { > > + if ((!ioc->is_gen35_ioc) && (ioc->manu_pg11.EEDPTagMode == 0)) { > > No need to have parens. > Yes, We ll remove parentheses in v6 patch set. Thanks, > > -- > With Best Regards, > Andy Shevchenko