Message ID | 20200713074645.126138-25-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2611096ilg; Mon, 13 Jul 2020 00:47:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTByWV5d29DCyXzLY+bndQmeAPmOWUN0dkdG7kTmqEGMg9iPeuVdTx1qEQ0bKt/wULV42k X-Received: by 2002:a17:906:31c8:: with SMTP id f8mr60176749ejf.269.1594626470789; Mon, 13 Jul 2020 00:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594626470; cv=none; d=google.com; s=arc-20160816; b=vTPIN20tcBbYRHDWzttuDHwIWZVqxZkcuIRsknSTqqWHW8VvKGpAbEd7JMZLDBhVMS 4ea/deB5WmHjEg752b6PW7/4s0+8hHYyoWbdXsxbAgp/4etATVfAQQtE7yX7vtPx1QGw oBfAKh+rSVj3P0oMYGnXmmZ+L5aKrU4KwSJewHGrsV5XaZJCN0omfwNYYdKRhDmoWB88 hch51pkM0MhJWNY4LDsv7UWTBoEutxckaOigrtXcbRcdVF+xJJMjuQ2TQYeiPrnsrKnQ Q/dOQhkBcQ25a9Ij9+4despGW7jhStVcmaLEOLrxYLJGct6BNVLLGzF3zQ0Hc0ESYKjP oejw== 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=oQ4WvRwPDFUcNrh06O2K9jOUxxfeZulaKjQ0ybDc5os=; b=EP4Di4Z7B9vmp8o7HRaW+rLzaFKKBJkgtoAzEjLWTSA9D00SBqf/+RfzNyuTln5uys f5KvKf6yH3u2aPJBE4K6Nmkp1DB+bx6uqbpDBAOnJrEnmsycyJW9dFxYLV3Dbdos6dEz Ma+J9UZZ4kHO2mnkKTIG0+/WOUwJ5QVQLaRcBN3vWLLJrY1E9oZCD+1AvWDsB5ffqrGV nL9iv+vanMxJegJI8Mu7dO4TWbxE2jwB0AUUnU7c1f+QTiHY3BvYmA7C/G+RA+EB7tAh kUO4SNfZUThrL2S0svtEHsmg5N55/gFf9JrD5IeHifNwuVUgZwXXM04NFmP+sJ1Gidga ZcZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bUcu1mtJ; 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: <linux-scsi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si8726926ejb.453.2020.07.13.00.47.50 for <patch@linaro.org>; Mon, 13 Jul 2020 00:47:50 -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=bUcu1mtJ; 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 S1729390AbgGMHrQ (ORCPT <rfc822;patch@linaro.org>); Mon, 13 Jul 2020 03:47:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729375AbgGMHrP (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Mon, 13 Jul 2020 03:47:15 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B725DC061794 for <linux-scsi@vger.kernel.org>; Mon, 13 Jul 2020 00:47:14 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id s10so14621526wrw.12 for <linux-scsi@vger.kernel.org>; Mon, 13 Jul 2020 00:47:14 -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=oQ4WvRwPDFUcNrh06O2K9jOUxxfeZulaKjQ0ybDc5os=; b=bUcu1mtJaYXv0rh5cEHC/NbY4/26cuQSnsGFXLA/v1BBuA3R1qfK7CaKBSmp+NQQy3 7md3AfU1fH0fr9k4TgyHrvcSh9ygvPY7leVg+ShqTC18ad+y7UCITOUYFtm2PQRp8AZU dhEQNC1q8PBtwArgX7Zd99DCkX75OybT13BC9bwj09cEKuQcIRHwjEGypxBq48DQBLec SaMxU+jhk2QGCyJNwiGMyiQNoFZJEXFp298UMjbXfBGxe2almnz231E8HarbSlo2QFRh pEwX0Z1AFLdFnKqQUxqmStTpHBCLMktPi0IYyXZLjkSJ6lm1oketJhhE/6Dd6fEQJsjq GJJA== 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=oQ4WvRwPDFUcNrh06O2K9jOUxxfeZulaKjQ0ybDc5os=; b=kyEpfeLBiaQ4bw83iq+baVecAmNqGqgXWfTVfraKDlQMZvbKNJz/muIq7hrvonJtGw sx/nSN6LvFvP3QvVcxcZizoLRQF4C0AipBjiB8aNy+Snhlv03ACje782c4hDqi0QGbcV Sms00sDHIiiNpcz0qf9D7/01Q+5LAjts3mgWykyHJH0IarOy7BHMXWDrxJEulhaWBRDE DQd/kW5kT+xPCk5aAbMOlBZP/mDtEqHo4o8RpJI7EPvtg5nZaGIUV2GreQGkePZVWCHK 6/Ks+/Uc2NiqfZOk5R9CcClFYH5wFC7vd07RJXoQrR2tZw5d8Oz9FZZ+k7znNHYq7pla 90LA== X-Gm-Message-State: AOAM532iJ8h0iOEtTVPIKrmc7Ohh2qJFxXjFIdiBvDQy+nJ8G+7I0H82 amH2TUgOugxNOssENcl48UZHCw== X-Received: by 2002:a05:6000:86:: with SMTP id m6mr45539519wrx.173.1594626433513; Mon, 13 Jul 2020 00:47:13 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id k11sm25142488wrd.23.2020.07.13.00.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 00:47:12 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Adaptec OEM Raid Solutions <aacraid@microsemi.com>, "PMC-Sierra, Inc" <aacraid@pmc-sierra.com> Subject: [PATCH v2 24/29] scsi: aacraid: linit: Fix a couple of small kerneldoc issues Date: Mon, 13 Jul 2020 08:46:40 +0100 Message-Id: <20200713074645.126138-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713074645.126138-1-lee.jones@linaro.org> References: <20200713074645.126138-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 |
Series |
Fix a bunch more SCSI related W=1 warnings
|
expand
|
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 734dd6e67246d..f043e378652c1 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -230,8 +230,8 @@ static struct aac_driver_ident aac_drivers[] = { /** * aac_queuecommand - queue a SCSI command + * @shost: Scsi host to queue command on * @cmd: SCSI command to queue - * @done: Function to call on command completion * * Queues a command for execution by the associated Host Adapter. * @@ -1160,7 +1160,6 @@ static int aac_cfg_open(struct inode *inode, struct file *file) /** * aac_cfg_ioctl - AAC configuration request - * @inode: inode of device * @file: file handle * @cmd: ioctl command code * @arg: argument
Most likely caused by bitrot (docs not keeping in sync with API). Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/linit.c: In function ‘aac_biosparm’: drivers/scsi/aacraid/linit.c:368:41: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] drivers/scsi/aacraid/linit.c:243: warning: Function parameter or member 'shost' not described in 'aac_queuecommand' drivers/scsi/aacraid/linit.c:243: warning: Excess function parameter 'done' description in 'aac_queuecommand' drivers/scsi/aacraid/linit.c:1176: warning: Excess function parameter 'inode' description in 'aac_cfg_ioctl' Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com> Cc: "PMC-Sierra, Inc" <aacraid@pmc-sierra.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/aacraid/linit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1