From patchwork Tue Jul 21 16:41:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 246932 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp2712869ecp; Tue, 21 Jul 2020 09:44:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiYS77Epe/Pdmam64Z/EmGMsbQdtkYvOl3wpAZBR1liSnxi1usxU67kdRRU0vcKuaTqXB+ X-Received: by 2002:a17:906:1747:: with SMTP id d7mr25990153eje.39.1595349882942; Tue, 21 Jul 2020 09:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595349882; cv=none; d=google.com; s=arc-20160816; b=e556IwGWGgL5QLPAeaX25U/zY4zRy4FnkqJAs4GZh9JF6KqLJoTuSWhskkxeFt71eI F3a4AX35n0/sgB1kIEns6J0CT9cRJuhR1F1f3wxevDI/D8GszCSn6bnfQb0DvirRdbkj +vX4ITcZWNONZHsoy/D7YevQDAlogEVJxYRDAdUijXtlK9dL063fgPFfB5AZwWK1Fag7 6GFE6ahm7lrk9r2WyEmYWkuoXkbJLzrQ3X1xsgCCN0BQ6x9BWYBQOi4NmxTGPJl/Axqv w8nvMO4cMHUfD+Esj2SXUof2VAoEsgNUCJBroqK5GnPDHxP1nSuNoVpRR3Zi095VGhxt Czgw== 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=dFXXcNYactXc03hl2acSO1gvLgU0ADiqS4Auy98l0Ek=; b=bopOjI5Am+goE+NASr3OJ+kl2e+26h55gGvI+j54F+znh3qBZGHstlxcQ2F4HARmk/ kARVzz59hDbKM+9EM3hqw+KainVYkS19ih/wztHvwROJ1G8kJfw3cWm6VY8ejPtVpraR y38XX7GyMyhQuT0aIIUMMI7MdHPKisCT3nwSQDzHtJQMy3vdeW0Of/nLDC2UL3sf6KT4 MH2ayXl0577F4xoHh145h43ya0/9Y9WIuJxPmsFAIIKag5eXEXCyVYLPXnzIMQNY6C7o loevJQc8AHsK97DpBk2NccGuu9MHUphedQ3Wxbjq9gfDMBoBSmHO6y0zBmgFSar7r+AG sojA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b6ljrpG1; 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 gj5si12724992ejb.49.2020.07.21.09.44.42 for ; Tue, 21 Jul 2020 09:44:42 -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=b6ljrpG1; 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 S1730492AbgGUQmH (ORCPT ); Tue, 21 Jul 2020 12:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730415AbgGUQmG (ORCPT ); Tue, 21 Jul 2020 12:42:06 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC91AC0619DA for ; Tue, 21 Jul 2020 09:42:05 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id z2so21894918wrp.2 for ; Tue, 21 Jul 2020 09:42:05 -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=dFXXcNYactXc03hl2acSO1gvLgU0ADiqS4Auy98l0Ek=; b=b6ljrpG1EBF8IfhnjjV9k/S7OREAseaGQxNSLkLYKHkKZJBOk9TyJQ6aN7cMbJCWmo TWg+czz5+3cY/e00jtry4YPNKz/1Un/eKvxxPoEBSy1ABFa9+ZRMCOiX4LRuqJJAgTFK XEdFtrY0iMyK6biVDcN8fLUekyA+5GhfJP8IHVLeO3pthjgI7J1QdhbJD88EqUFrzHud i05ROZExH4J4wpxKfaPLEUqw9NwN9E3iDbD8Ge/QVeW2dghGLGWjj+SkHWhbK0q8WvxL Z+crzAn5cVkg2anjn8tNPmxxZYgi+ImE874vwd2jyxyFn/QQm5W8UL0eKkCO0C91kUaC qJAA== 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=dFXXcNYactXc03hl2acSO1gvLgU0ADiqS4Auy98l0Ek=; b=TQ0nlXRlpW8ckAdZE4FvJN2FQvTxMOLiWYGLvFvsYg72lXkGXjiP0t8vthK2sSh1gb 9+xwB3GxcDxdgYkSG3CMPwS7F+D4I4Gn3nOpTj7JbtiC5mctTamsY72enZpUAIM8P+JM euoLaY4xcPPjuW6J8zn+/DH2/5EP4rNtMDwa8HDjrFf1F1sH/rGIU9BgH9OdnydaHNcK nP/WlnH5tDx64uESoN2ZrXfQVdcmp8mRGmx+FEXNQ5t+o4ckOcyLmwY9DIKqW8roBrca +ZF8s5+U3cZPGnJitt9g/v1+W+CUkAWOMt4uWX0xqO+aksQxkavAagPatdA7Hm97gQcM TLrw== X-Gm-Message-State: AOAM530qa1bOVFTh+A/oz3+lmdEyAzdeydV09EUkqWjGaUVyVk4eWep1 3U9fygdQTovOM8V/lKgkeDN4WA== X-Received: by 2002:adf:e38b:: with SMTP id e11mr27051879wrm.65.1595349724716; Tue, 21 Jul 2020 09:42:04 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id m4sm3933524wmi.48.2020.07.21.09.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 09:42:04 -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 , Adaptec OEM Raid Solutions , "PMC-Sierra, Inc" Subject: [PATCH 07/40] scsi: aacraid: src: Add descriptions for missing parameters Date: Tue, 21 Jul 2020 17:41:15 +0100 Message-Id: <20200721164148.2617584-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721164148.2617584-1-lee.jones@linaro.org> References: <20200721164148.2617584-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 Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p2' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p3' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p4' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p5' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'p6' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'status' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r1' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r2' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r3' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Function parameter or member 'r4' not described in 'src_sync_cmd' drivers/scsi/aacraid/src.c:203: warning: Excess function parameter 'ret' description in 'src_sync_cmd' drivers/scsi/aacraid/src.c:609: warning: Function parameter or member 'dev' not described in 'aac_src_ioremap' drivers/scsi/aacraid/src.c:639: warning: Function parameter or member 'dev' not described in 'aac_srcv_ioremap' Cc: Adaptec OEM Raid Solutions Cc: "PMC-Sierra, Inc" Signed-off-by: Lee Jones --- drivers/scsi/aacraid/src.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c index 787ec9baebb0b..11ef58204e96f 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c @@ -191,7 +191,16 @@ static void aac_src_enable_interrupt_message(struct aac_dev *dev) * @dev: Adapter * @command: Command to execute * @p1: first parameter - * @ret: adapter status + * @p2: second parameter + * @p3: third parameter + * @p4: forth parameter + * @p5: fifth parameter + * @p6: sixth parameter + * @status: adapter status + * @r1: first return value + * @r2: second return valu + * @r3: third return value + * @r4: forth return value * * This routine will send a synchronous command to the adapter and wait * for its completion. @@ -602,6 +611,7 @@ static int aac_src_deliver_message(struct fib *fib) /** * aac_src_ioremap + * @dev: device ioremap * @size: mapping resize request * */ @@ -632,6 +642,7 @@ static int aac_src_ioremap(struct aac_dev *dev, u32 size) /** * aac_srcv_ioremap + * @dev: device ioremap * @size: mapping resize request * */