Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3714579pxk; Mon, 7 Sep 2020 23:48:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhRd48Ta2L/0iNbUBtQny5jUVe5RIXgR2PYFhJ7A4xTZF8QeQbMOLz0WndAF9hkPGTqWI6 X-Received: by 2002:a05:6402:1859:: with SMTP id v25mr16718221edy.118.1599547695656; Mon, 07 Sep 2020 23:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599547695; cv=none; d=google.com; s=arc-20160816; b=kTMMNkfF4HrbcMRWN0XnxkcRK91u4lgCF0v22QAPYD9SoPHnWx0I4WQMW5FCwKlgHz CRhhwjDf8TepXOH3TMg7X8EGdl2b8Ayh5HcoqUx42955AaRmM7/y4nMFmVIIFTavUyiB J6p6/woVWJ30nuMHzysW6hQqq/Fp6KdKaYyEHXLkXD8Aywf89AjW14bxmsTXvZiiE846 z2edV8X3ARx0J0OMwawm/wVjitl5lRyGQObVfkXD/Ybyb8yGlwFmSiSqjKjqLoXkQeA8 j2TdzrvOxrIG/Vx5ARYHoKzlLLCpDbwnO4jcRJxrmsL5A3yC/j/P5giAZ7gtMseSUvPF 8o/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=aiBLXAOJu8QoseT7V/7qoKu8aO/6blc54o+Ujz+gE7A=; b=tArgIpGDqpmkvBPTV2C8obmrlLSeNxWgXLDCMUTkX6iHYWyZ6tpBxS8Nmtm9BTEM0w H6hJztknrZzpMfIpXYJ5E3v6HDp3MbEUeffCPp31s1mJRWQXhgncXtAC1Xn5jhuzL/ce A1yKgCq52FKm3DQDcSfTwxZpBjlk9OFG76AhQib/xcK8Xdbbg9Y6CB3MqpFNw6IyGf+N rPx2kCaEJ1kagr+OT2Te2ogU/mlfagbLpifIOSLSrsSSqPM039/uCsdATYY3zX5xIbXZ EuPMZU77/rKr8/X6Bcu1W7Hlw9QxclH4ymRuEDwr2l/W2Ls7VGRm02Yyh516PTPj5LeF 1w1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=J7ZoHHh1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=marvell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si11085621edc.216.2020.09.07.23.47.53; Mon, 07 Sep 2020 23:48:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=J7ZoHHh1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729139AbgIHGqg (ORCPT + 99 others); Tue, 8 Sep 2020 02:46:36 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:55658 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727898AbgIHGqf (ORCPT ); Tue, 8 Sep 2020 02:46:35 -0400 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0886f5q0009652; Mon, 7 Sep 2020 23:46:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : in-reply-to : message-id : references : mime-version : content-type; s=pfpt0220; bh=aiBLXAOJu8QoseT7V/7qoKu8aO/6blc54o+Ujz+gE7A=; b=J7ZoHHh1aZkPbkh4HDHz00gN/SEa2qjAjWwP+oalS5LgEjzQbV7bj8TWSnAu/8Q6Jqhv ZJzjStNQaBHPc6OoI80N7Rw/COFu/vq/bu9u9Zb6hFrQ2+UnY9EgsxMKRQgW7iN9OPxL pGIA67o+JcEC/ogmRpskzMQptPXdt+7kmh3n1mfyU08zaczTDdqPG3yx/G2ygSarMekx poyn6mt4Zc0kvH45BN7LwkGnjU39z/G4aYsD+QeYuv6rjnkQu5uPMhnJAHV5smR/SDdG Li/UYmJAk7TzBEgL3Yw1OIa08ikPASMNSOBAdRZMQP2QT4G+sdN1Wcfh7Pn/kfGMkN60 fg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 33c81ptg73-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 07 Sep 2020 23:46:29 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 7 Sep 2020 23:46:28 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 7 Sep 2020 23:46:29 -0700 Received: from irv1user01.caveonetworks.com (unknown [10.104.116.179]) by maili.marvell.com (Postfix) with ESMTP id A97363F703F; Mon, 7 Sep 2020 23:46:28 -0700 (PDT) Received: from localhost (aeasi@localhost) by irv1user01.caveonetworks.com (8.14.4/8.14.4/Submit) with ESMTP id 0886kSY3024215; Mon, 7 Sep 2020 23:46:28 -0700 X-Authentication-Warning: irv1user01.caveonetworks.com: aeasi owned process doing -bs Date: Mon, 7 Sep 2020 23:46:27 -0700 From: Arun Easi X-X-Sender: aeasi@irv1user01.caveonetworks.com To: Daniel Wagner CC: , , "Nilesh Javali" , Martin Wilck Subject: Re: [PATCH v2 3/4] qla2xxx: Drop unused function argument from qla2x00_get_sp_from_handle() In-Reply-To: <20200831161854.70879-4-dwagner@suse.de> Message-ID: References: <20200831161854.70879-1-dwagner@suse.de> <20200831161854.70879-4-dwagner@suse.de> User-Agent: Alpine 2.21.9999 (LRH 334 2019-03-29) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-08_02:2020-09-08,2020-09-08 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 Aug 2020, 9:18am, Daniel Wagner wrote: > > Commit 7c3df1320e5e ("[SCSI] qla2xxx: Code changes to support new > dynamic logging infrastructure.") removed the use of the func > argument. > > Signed-off-by: Daniel Wagner > --- > drivers/scsi/qla2xxx/qla_gbl.h | 3 +-- > drivers/scsi/qla2xxx/qla_isr.c | 36 ++++++++++++------------------------ > drivers/scsi/qla2xxx/qla_mr.c | 9 +++------ > 3 files changed, 16 insertions(+), 32 deletions(-) > --8<-- > diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c > index 5d278155e4e7..b787643f5031 100644 > --- a/drivers/scsi/qla2xxx/qla_isr.c > +++ b/drivers/scsi/qla2xxx/qla_isr.c > @@ -1711,8 +1711,7 @@ qla2x00_process_completed_request(struct scsi_qla_host *vha, > } > > srb_t * > -qla2x00_get_sp_from_handle(scsi_qla_host_t *vha, const char *func, > - struct req_que *req, void *iocb) > +qla2x00_get_sp_from_handle(scsi_qla_host_t *vha, struct req_que *req, void *iocb) > { > struct qla_hw_data *ha = vha->hw; > sts_entry_t *pkt = iocb; How about printing the "func", which gives an indication of the caller function, in the ql_log-s, rather than removing it? At least in the cases like you describe, it'd give an indication which handler the path was taken. Regards, -Arun