From patchwork Sat Aug 13 00:10:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Reed X-Patchwork-Id: 1666021 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=uFgItr8p; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4M4LYh0wY4z9sGT for ; Sat, 13 Aug 2022 10:11:18 +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 ) id 1oMek6-0007Kq-9j; Sat, 13 Aug 2022 00:11:06 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1oMek4-0007KV-Su for kernel-team@lists.ubuntu.com; Sat, 13 Aug 2022 00:11:04 +0000 Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 96C7F3F0E1 for ; Sat, 13 Aug 2022 00:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1660349464; bh=HoYSFV2XSJiHbCL0neawYf4h5yLyB7mKjVSPDScrJ98=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uFgItr8ppZAwnC/MOEhT9I2VycQtQUhXXIDMZwZVmQij1t7LOq/HyAEBxdKYjaFxI tp05MnOY00yyf8goI+Ll72tNXjZ1M87eJScL8QNXZfHxdzFukeshIjI/cVAAK8IdT3 f2pP3Ee7ey3Y9inyqyLOJgvpEm2xiOK02mc0rki39jmoBtmCoQQV+7Zr5+SKls+Con mG2yy/VdY6bhJjMtKpjpc/5YGm4qxsyFOD5Bw8iG4LXNk7SPny3MxYjFf3wGbdCaH3 pdBbTyAz4TlYWeMpXK+Z6nFf/h3unnJsIhhX+F9euycaq4nG7ryRKLHX5zT34/VTmN 3+WoZadp+9XKA== Received: by mail-ot1-f70.google.com with SMTP id d35-20020a9d2926000000b006370ba56e1cso830007otb.15 for ; Fri, 12 Aug 2022 17:11:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=HoYSFV2XSJiHbCL0neawYf4h5yLyB7mKjVSPDScrJ98=; b=65Gz7x7XAgdGw8jp5Hn4T++snXs5fl8btpwOFnFAbWXX85Zwzd9hOJ87BGWl5UjqqO i1/zRwYsE+Jp6TWIuP1WhEjVKFaViyMx/k7tw0W1D+iGGQEgI85XPV2UfGeXDPy06+48 a1E5ZaIotX5+vUp567k4mIDyjdVkxmVymVS801RUyAgJBYs1WQgtrZpS8/V10QLrIF+r dnAI3xyBJ84QmSBMtH13e8GJq/klDAypOU/bwLNlhQ0IPn0vH24ftjfP+rx+rM4W7U3B fNJ9v69chXqoruU2lIj8s9wWltmrcxGflt8vLwfloEpz5FjRlc0tUyMqOEfW7HMoPCtt gqkQ== X-Gm-Message-State: ACgBeo2vkK0K17ktBysu9aVS8kQ+bvgQV7CpbUbv4T2mhHpUQU6UH33O dIC/k8fWtSfIxDVa5fa7JGX9rMOg2Xy0MlweQThXt4REnzVmXtV16yUA+2xYkyEQPvEdgVs420O E3xHRwE/2fQsg/HiUg1fskuHufsDcJsMm/rabiWMGRg== X-Received: by 2002:a05:6870:73ce:b0:118:8dc9:90fe with SMTP id a14-20020a05687073ce00b001188dc990femr702993oan.250.1660349463380; Fri, 12 Aug 2022 17:11:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR44Bo2lHpomj2yENFASQeX/KvxtbmtBAhqtbIF75Ft+7JDHECXElN5p+XOcLig5YHlZXz8leA== X-Received: by 2002:a05:6870:73ce:b0:118:8dc9:90fe with SMTP id a14-20020a05687073ce00b001188dc990femr702986oan.250.1660349463134; Fri, 12 Aug 2022 17:11:03 -0700 (PDT) Received: from localhost ([2600:1700:1d0:5e50:51b0:150c:5b8d:e224]) by smtp.gmail.com with ESMTPSA id d63-20020aca3642000000b00339c8aab320sm603720oia.3.2022.08.12.17.11.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 17:11:02 -0700 (PDT) From: Michael Reed To: kernel-team@lists.ubuntu.com Subject: [SRU][F][PATCH 3/5] scsi: fnic: Change shost_printk() to FNIC_MAIN_DBG() Date: Fri, 12 Aug 2022 19:10:55 -0500 Message-Id: <20220813001057.34877-4-michael.reed@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220813001057.34877-1-michael.reed@canonical.com> References: <20220813001057.34877-1-michael.reed@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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Karan Tilak Kumar Replace shost_printk() with FNIC_MAIN_DBG() so that these log messages are controlled by fnic_log_level flag in fnic_handle_link. BugLink: https://launchpad.net/bugs/1984011 Link: https://lore.kernel.org/r/20201121013739.18701-1-kartilak@cisco.com Reviewed-by: Arulprabhu Ponnusamy Co-developed-by: Satish Kharat Signed-off-by: Satish Kharat Signed-off-by: Karan Tilak Kumar Signed-off-by: Martin K. Petersen (cherry picked from commit 875d4eda3bd67315418f4e6f6725a877aa1786b5) Signed-off-by: Michael Reed --- drivers/scsi/fnic/fnic.h | 2 +- drivers/scsi/fnic/fnic_fcs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/fnic/fnic.h b/drivers/scsi/fnic/fnic.h index 6dc8c916de31..7c5c911b2673 100644 --- a/drivers/scsi/fnic/fnic.h +++ b/drivers/scsi/fnic/fnic.h @@ -39,7 +39,7 @@ #define DRV_NAME "fnic" #define DRV_DESCRIPTION "Cisco FCoE HBA Driver" -#define DRV_VERSION "1.6.0.50" +#define DRV_VERSION "1.6.0.51" #define PFX DRV_NAME ": " #define DFX DRV_NAME "%d: " diff --git a/drivers/scsi/fnic/fnic_fcs.c b/drivers/scsi/fnic/fnic_fcs.c index ab74b8d642aa..78857ea1491d 100644 --- a/drivers/scsi/fnic/fnic_fcs.c +++ b/drivers/scsi/fnic/fnic_fcs.c @@ -75,7 +75,7 @@ void fnic_handle_link(struct work_struct *work) atomic64_set(&fnic->fnic_stats.misc_stats.current_port_speed, new_port_speed); if (old_port_speed != new_port_speed) - shost_printk(KERN_INFO, fnic->lport->host, + FNIC_MAIN_DBG(KERN_INFO, fnic->lport->host, "Current vnic speed set to : %llu\n", new_port_speed);