From patchwork Wed Jul 8 12:02:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235076 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp370261ilg; Wed, 8 Jul 2020 05:03:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqvWuVyXyV19W6NlD4zMWXfy9NsV8qMDxjBLWI0MjETin1r2UXA9DuyUrAJF3BJNmv3S2e X-Received: by 2002:a17:906:9408:: with SMTP id q8mr50170945ejx.496.1594209801740; Wed, 08 Jul 2020 05:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594209801; cv=none; d=google.com; s=arc-20160816; b=ROYDOI4IOqSSkSlMS6Q+f7EWkRnZ6SqAZnlpO+bLa73Lyzf+UljeHB7ySSps3s77s1 Cg99GK6iwwD22MNcQZPRfT+5CFtFk0iMourThpo0JP//1BcqswYWYynT5pQsNM7i5hCC E+vVyhY0E/85hByPRgB3sHT1nEQEgD82LP4oMq5MBGRIckpB85YXBBZIDBjt3dJC1E+E B6vccMYztl25pAujuAH3XvhO0CqYs0IQ/qfUtooYyF+eXcJuKTU+BmgmnpaDsMlHLW0g Iu6aJqJ0C8jPzfPfV0pwlo06d9AbBRUm9mfcanC+9rJPsna8yhzPbkhrpTCHyKB4ODFc LROw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XQHRlmYiMy5z0WnxtNKRalmwQyJTVSmo3hN7/2Qvzas=; b=MCTO5Uazt3Icrxf3yO0PxtnWBiTruM5g4uxkiLp963uBqQ/MSC7wfCzSYBtm1KjR1P bVLiFMryRUK/1SWcl2WEjx9zDFEGxWP57Xq8bVM2HPduR+y0mrxhJ4sFIGYi387kPrjt GhS8WTbXmtCO0sJD9rOE5BfQt/GZ9Xb4VbbXU4ICA8mBCrDkYu/hn0ZmzjR8jola8gS+ MBkjFyP83fjqgcdVFYlRImgwGH3L+B1CV6DB6lRfPYxy6FGG/YM353h35zBr+kggBXZx 3qqVfuPK34VSlDm/EtaKoqn2hGsXU1z9S9/3yoMLfHV3vVngJ1US/uaszeFPuV3IRNn/ bflQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n292cOlk; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g26si15925831ejo.47.2020.07.08.05.03.21 for ; Wed, 08 Jul 2020 05:03:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-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=@linaro.org header.s=google header.b=n292cOlk; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728848AbgGHMDU (ORCPT ); Wed, 8 Jul 2020 08:03:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729232AbgGHMDL (ORCPT ); Wed, 8 Jul 2020 08:03:11 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B505C08C5DC for ; Wed, 8 Jul 2020 05:03:11 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id o8so2710386wmh.4 for ; Wed, 08 Jul 2020 05:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XQHRlmYiMy5z0WnxtNKRalmwQyJTVSmo3hN7/2Qvzas=; b=n292cOlkFOyUyQ8ZkW6XuDxtzEgcsyhqPXRt7/EPXsfkxxrObnUpsWEbLWdfZ8Eq6s P/lp8mGBvS46SbnST3odFaAF/4nxTUozIlvQvRrCISKPcSbf3EHcfXo3R0XZPFzKWE/M /RrB07MQODt05nVNPEhKIQRcU0rvw4VBjKaAiUpdwmUcpfHNL/LQP4J/VFqBS8UcbWoN g7QKzYhENoql15R1iKSDZIGmsP/8U05P5VOFN8YtkJTIByodKGe1GMjnqEfFCJb8khIC c2jBNUY588S31VNGlrlv95/LdNM8UZFuWKauPiMhIy84/UTVA0T055uCUGikYhYvvilL 4cOA== 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=XQHRlmYiMy5z0WnxtNKRalmwQyJTVSmo3hN7/2Qvzas=; b=auv6yTK8Dc0fGiEpKXdqjcNw5Uy/xq5pgPq9/Dmn3L9dsvkNYHb4MnVoavbGwDovAp aofVi4JzggCstDWIry724GvuToBztRRT84Dx+0+wISmrxaxJAMPxC5QAYougsPRfO+aO sRMeYZue+ilrnlpYWtr4GvZjOlfx0Vqoe0WiJJTJCtloOll8LUVPIjscJJeeOULBErn0 mZ9WW/qqUIh4R7RsKWszmvh/Tdb/ItJAtRTJ2vObodL0Z9mvUOExmt6n5HfTcKDRLDhK rSAHp+B5beo1Lu9cQlkuf3r+c2L2R9cKB2OgQewhD4Ry+R+u7RzKlZzxFxmY3Ycwg8Qy oFmw== X-Gm-Message-State: AOAM53129X2TqMJNWxltzbpz1dIEvDBZ4N9/3UfvdCeIW+VZlZkGQDRP NRQcXK7wkxb1KqDHPE2AXuPKUg== X-Received: by 2002:a1c:f219:: with SMTP id s25mr8709643wmc.2.1594209789802; Wed, 08 Jul 2020 05:03:09 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id m62sm3964997wmm.42.2020.07.08.05.03.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 05:03:08 -0700 (PDT) From: Lee Jones To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones , QLogic-Storage-Upstream@qlogic.com Subject: [PATCH 30/30] scsi: qla4xxx: ql4_init: Provide a missing function param description and fix formatting Date: Wed, 8 Jul 2020 13:02:21 +0100 Message-Id: <20200708120221.3386672-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200708120221.3386672-1-lee.jones@linaro.org> References: <20200708120221.3386672-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Kerneldoc function parameter references need to be in the format '@.*: ', else the kerneldoc checker gets confused. Fixes the following W=1 kernel build warning(s): drivers/scsi/qla4xxx/ql4_init.c: In function ‘ql4xxx_set_mac_number’: drivers/scsi/qla4xxx/ql4_init.c:17:10: warning: variable ‘func_number’ set but not used [-Wunused-but-set-variable] drivers/scsi/qla4xxx/ql4_init.c: In function ‘qla4xxx_pci_config’: drivers/scsi/qla4xxx/ql4_init.c:664:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] from drivers/scsi/qla4xxx/ql4_init.c:9: from drivers/scsi/qla4xxx/ql4_init.c:9: drivers/scsi/qla4xxx/ql4_init.c:953: warning: Function parameter or member 'is_reset' not described in 'qla4xxx_initialize_adapter' drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'ha' not described in 'qla4xxx_process_ddb_changed' drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'fw_ddb_index' not described in 'qla4xxx_process_ddb_changed' drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'state' not described in 'qla4xxx_process_ddb_changed' drivers/scsi/qla4xxx/ql4_init.c:1168: warning: Function parameter or member 'conn_err' not described in 'qla4xxx_process_ddb_changed' Cc: QLogic-Storage-Upstream@qlogic.com Signed-off-by: Lee Jones --- drivers/scsi/qla4xxx/ql4_init.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/drivers/scsi/qla4xxx/ql4_init.c b/drivers/scsi/qla4xxx/ql4_init.c index 2bf5e3e639e1a..5963127f7d2ef 100644 --- a/drivers/scsi/qla4xxx/ql4_init.c +++ b/drivers/scsi/qla4xxx/ql4_init.c @@ -945,6 +945,7 @@ void qla4xxx_free_ddb_index(struct scsi_qla_host *ha) /** * qla4xxx_initialize_adapter - initiailizes hba * @ha: Pointer to host adapter structure. + * @is_reset: Is this init path or reset path * * This routine parforms all of the steps necessary to initialize the adapter. * @@ -1156,9 +1157,9 @@ int qla4xxx_flash_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, /** * qla4xxx_process_ddb_changed - process ddb state change - * @ha - Pointer to host adapter structure. - * @fw_ddb_index - Firmware's device database index - * @state - Device state + * @ha: Pointer to host adapter structure. + * @fw_ddb_index: Firmware's device database index + * @state: Device state * * This routine processes a Decive Database Changed AEN Event. **/