Message ID | 20210701065141.6018-30-krzysztof.kozlowski@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GFpns0xb6z9sX5; Thu, 1 Jul 2021 16:53:21 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1lyqZX-0002tf-JD; Thu, 01 Jul 2021 06:53:15 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <krzysztof.kozlowski@canonical.com>) id 1lyqYR-0001so-R5 for kernel-team@lists.ubuntu.com; Thu, 01 Jul 2021 06:52:08 +0000 Received: from mail-ed1-f71.google.com ([209.85.208.71]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <krzysztof.kozlowski@canonical.com>) id 1lyqYP-0007Nf-Ul for kernel-team@lists.ubuntu.com; Thu, 01 Jul 2021 06:52:05 +0000 Received: by mail-ed1-f71.google.com with SMTP id z5-20020a05640235c5b0290393974bcf7eso2519279edc.2 for <kernel-team@lists.ubuntu.com>; Wed, 30 Jun 2021 23:52:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2g5UOzmf5hrTfZTsq5HBA0Qgrkryc8mmH3hm7nGHjMQ=; b=XbEiYYQt21JHU16RxRIL7k95b8gyBR/o3AVgheeNR0rppsCA+yJDl8TcekBuyQ3LyD I3O5Tri4vrXfmxn0EF1sa7eQI3Bi3rjZPLKVk1DETcGyfmnjmXhjD5VQK+xhVyApV/cN 3q/1zyNUQbiR77QEaLwzkB+RoSHc1DEaHRdps2jZIA8B5FS4EAJv8LeNBqWJNvUriIOu 5qyX32YkcPinDK1VN9Jl7Nzk7GthU9CYt71ZZrjcyaFz72i7bjAzQpAnI8Kibvnnl9lc qVO3024AGS1UHAv3ojYlj4huNSwszL968JYVFDQ1Psd/5v34XjolH2UsLtFtyF+g4eiC drow== X-Gm-Message-State: AOAM5305XEASOSBtck6EcTzUI/CVwsr0+geQjULEFjrW2iiZG3Ijkn/F GOb4pjkK2ospbaG1SkcNHBKz2NVL9VKOv7YBFZ2o55+hfDccxb4F3ghG2I5oGgjP0VHzxpNwrFK KvYVxO8HKNIV8dVNtspW8rj7B1++IV9hclN5+1T9Y9A== X-Received: by 2002:a05:6402:154:: with SMTP id s20mr52235497edu.103.1625122325289; Wed, 30 Jun 2021 23:52:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEkK89OgVjVQrWxlv4yHE8wS+0Um6Logs28zy/1WmpqAhHm8Navc/wyKjCzKBo9JSX9Z7Yjg== X-Received: by 2002:a05:6402:154:: with SMTP id s20mr52235479edu.103.1625122325124; Wed, 30 Jun 2021 23:52:05 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.gmail.com with ESMTPSA id t15sm10394144ejf.119.2021.06.30.23.52.04 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 23:52:04 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH][SRU][F-hwe-5.11 29/30] scsi: smartpqi: Fix device pointer variable reference static checker issue Date: Thu, 1 Jul 2021 08:51:40 +0200 Message-Id: <20210701065141.6018-30-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210701065141.6018-1-krzysztof.kozlowski@canonical.com> References: <20210701065141.6018-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Update SmartPQI driver
|
expand
|
diff --git a/drivers/scsi/smartpqi/smartpqi_sas_transport.c b/drivers/scsi/smartpqi/smartpqi_sas_transport.c index dd9b784792ef..dd628cc87f78 100644 --- a/drivers/scsi/smartpqi/smartpqi_sas_transport.c +++ b/drivers/scsi/smartpqi/smartpqi_sas_transport.c @@ -92,12 +92,12 @@ static int pqi_sas_port_add_rphy(struct pqi_sas_port *pqi_sas_port, identify = &rphy->identify; identify->sas_address = pqi_sas_port->sas_address; - identify->phy_identifier = pqi_sas_port->device->phy_id; identify->initiator_port_protocols = SAS_PROTOCOL_ALL; identify->target_port_protocols = SAS_PROTOCOL_STP; if (pqi_sas_port->device) { + identify->phy_identifier = pqi_sas_port->device->phy_id; switch (pqi_sas_port->device->device_type) { case SA_DEVICE_TYPE_SAS: case SA_DEVICE_TYPE_SES: