Message ID | 20190417214443.243152-3-bvanassche@acm.org (mailing list archive) |
---|---|
State | Mainlined |
Commit | 19ce192cd718e02f880197c0983404ca48236807 |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C5D2D17E0 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Apr 2019 21:45:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AFD1B28A93 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Apr 2019 21:45:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3C2C28A96; Wed, 17 Apr 2019 21:45:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F18228BA9 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 17 Apr 2019 21:45:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387693AbfDQVo6 (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 17 Apr 2019 17:44:58 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45285 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387758AbfDQVo5 (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 17 Apr 2019 17:44:57 -0400 Received: by mail-pl1-f194.google.com with SMTP id bf11so100562plb.12 for <linux-scsi@vger.kernel.org>; Wed, 17 Apr 2019 14:44:57 -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:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XynsbGbRtkW5+qbzMrlSHzphnFgzcqd1gKjGjn2l2+I=; b=ipdDwBjzVEUdOqMKEPXjVhz7D1e8FQVPoPhYlKxLc1kcurH6IMQBobY/0E9OwC1KDR 14Uuw8y7La4a7pZtvbD/hXAt8RCPyPBNtsV3CWwrycfN0bxcyD/9r+4P1cX+YamnGgEl c4FTrkfpSjUgr2qsy/EnfbuEqtTgqnM7UYE6wK5a7rGfheK+daMoOPJf7LblLDnuZLR9 cRT1oFTPIhE4aCEDrmm/yvw5uTRtNdZmtaeUgmUroQlPO6dzsWtKijkiITqn7pwBOq3s hTG083g+qq0k9vUhlws2aPBUwAKzIPlmjS9xIMBqRR6Lg8ytD6YF2k2MEceI+5KIiTNt LxLw== X-Gm-Message-State: APjAAAUJ1IGnqPL1d4wDOiL+8nSOBYhvd5YKtLwklNzTYwWe5WwB+7rp YHuBLYkflaGQo62/5VnzCTw= X-Google-Smtp-Source: APXvYqxZdBly6zhmjVXwY0mhVX6Wr9MAV6mHtrdLCHhun/WMhhTcPY6aYx2iH6m0Tz/kVP9DJ6dFNg== X-Received: by 2002:a17:902:70c8:: with SMTP id l8mr92471859plt.177.1555537496761; Wed, 17 Apr 2019 14:44:56 -0700 (PDT) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:203:5cdc:422c:7b28:ebb5]) by smtp.gmail.com with ESMTPSA id d68sm219314pfg.16.2019.04.17.14.44.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 14:44:56 -0700 (PDT) From: Bart Van Assche <bvanassche@acm.org> To: "Martin K . Petersen" <martin.petersen@oracle.com>, "James E . J . Bottomley" <jejb@linux.vnet.ibm.com> Cc: linux-scsi@vger.kernel.org, Christoph Hellwig <hch@lst.de>, Bart Van Assche <bvanassche@acm.org>, Himanshu Madhani <hmadhani@marvell.com>, Giridhar Malavali <gmalavali@marvell.com> Subject: [PATCH 02/34] qla2xxx: Fix a format specifier Date: Wed, 17 Apr 2019 14:44:11 -0700 Message-Id: <20190417214443.243152-3-bvanassche@acm.org> X-Mailer: git-send-email 2.20.GIT In-Reply-To: <20190417214443.243152-1-bvanassche@acm.org> References: <20190417214443.243152-1-bvanassche@acm.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
qla2xxx source code cleanup and bug fixes
|
expand
|
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 4afab9d338b3..e5707ffdaefe 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c @@ -2391,7 +2391,7 @@ void qlt_xmit_tm_rsp(struct qla_tgt_mgmt_cmd *mcmd) case ELS_PRLO: case ELS_TPRLO: ql_dbg(ql_dbg_disc, vha, 0x2106, - "TM response logo %phC status %#x state %#x", + "TM response logo %8phC status %#x state %#x", mcmd->sess->port_name, mcmd->fc_tm_rsp, mcmd->flags); qlt_schedule_sess_for_deletion(mcmd->sess);
Since mcmd->sess->port_name is eight bytes long, use %8phC to format that port name instead of %phC. Cc: Himanshu Madhani <hmadhani@marvell.com> Cc: Giridhar Malavali <gmalavali@marvell.com> Fixes: 726b85487067 ("qla2xxx: Add framework for async fabric discovery") # v4.11. Signed-off-by: Bart Van Assche <bvanassche@acm.org> --- drivers/scsi/qla2xxx/qla_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)