From patchwork Wed Jul 8 12:02:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235078 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp370360ilg; Wed, 8 Jul 2020 05:03:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/E3gN9v0c0/ucX1TLwJMetg7L64WzqgXLxyvuFA1cZfY/d/KcSIM0f8fB2s/kNJ5ETalv X-Received: by 2002:a17:906:384a:: with SMTP id w10mr53514911ejc.235.1594209806507; Wed, 08 Jul 2020 05:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594209806; cv=none; d=google.com; s=arc-20160816; b=Ht1pSThkT2wUc/Axnf3r9KBg2N2TjLYfKDyYJykyey/5poVN/fmesgGAedilcu8wmp 9O6v/Z77fwkmvCSyrpy7f3BPVt28E6G4kuzSRlkmYixW0CDViWaN/OxZAU4E0fp0AxBW 8edy+IaDjm66VFBTLCz9dxIdSezcfp4LhuNcOIgtSZXS3aIS3Tb/ZeMj10Tc/ZYT6TZr FM2cvUoVbmDao5N0G0rEVtWi9Yn7oKyOcwbA8leoTj4D0hxws2NUFg0Jg+kbvD/d6OLu rEU0VE23uZb8/LdfZGUZcb/vJSLqSs8xME65wgDVR0pJxQQBrbjMBQjMZDPoYSIYz2Xw fCCQ== 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=i3DyTlo53TBX4snoXelh+tGp6GZV7PxBL6BTVnHUBIX0jJ7CCFMZlPRZ/aMTbw+vTg sJGyIZgBPl9HCGigIQlDcAkX1CFHqFuSyGu6y27P59H9CYcVbsUA3FufEl2sQt774Ny7 I/XgVcSh0/FwLxCJpX1q7fne1TeNEr1SSENSEnDAk+mxke2FiAVCGzgKAHp84N1aDkx+ gEdw5hPn17MwecArqTZCUbsdAeEMcHs1Niz4Rf0C65sNcWKtYUHmhe1YupZNpFXS2BWi w/ULL8zt0dLoQWTQOzPXhEgKKXb3WANQaY2svSzRF1aHPeL8Izib81+3kZxdv16AphMS 0EDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HcEJA8WD; 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 d23si16721360ejz.145.2020.07.08.05.03.26 for ; Wed, 08 Jul 2020 05:03:26 -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=HcEJA8WD; 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 S1729206AbgGHMDG (ORCPT ); Wed, 8 Jul 2020 08:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729199AbgGHMDF (ORCPT ); Wed, 8 Jul 2020 08:03:05 -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 32024C08E6DC for ; Wed, 8 Jul 2020 05:03:04 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id s10so48634748wrw.12 for ; Wed, 08 Jul 2020 05:03:04 -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=HcEJA8WDl4WeJ2vXIx9y7tBCth1cotVU/SGVBEDKeoxBy/vHIVkUEVxUdRO0FHSzuR ibKIsFFbEhwKcXgsnSy5GbgBrKsb3JMgHrxW2eiAPh28qoXxbmBoNF6JAP3Qe3fZLW2c XSEoh/x0mVS5KNb/8Lu7uVYR8fx3X1830tDuS+dj0Tn7BXba7wJhtiX2qIyLLFZR3dwd /BBfXElqsVR1A/f5KJTzaJJE3SvCKvuYKRf/p58LaYkTV6MrdtawQiS6bgqW30VLM2Gt unrA4NE6cx7pEQkdDtUkkOSQVeJNjKUhnp20MnowWCLVVKURPzHppVzG1gQfciGp+VhC +l5Q== 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=Q9saBBN+v/4GGtezrF1hjSy2sbgybyIHm8STdoNomIctSRpnAhUehFnONM+D4UQA1/ 15AB8dRLvmelqrCCkBHCqTVdAqvn4o1QlOfabKJPMdxW7Ozdq4TJjLfJKYeg2IUNrg0y DiYa73C6HXzVX9StR/nNjXBUYFw1P2ZDV5iiqWGdAiY4SegYUGCBu5jXOtVsXk8akOrz zDBiudGRjAunkzdc7BRKEy2OlYlLlk0IkIBNxV/I8JBVaVxPRe1uqfmnpN+667dPPrNU NJSbgARC9EjXU0ujGSi5FABjqb0unllZ3/PX4p7rqckTn6P0pfk5S+28oEedrP29Dndq eaNA== X-Gm-Message-State: AOAM531uxFt7oBb4DkwbQ45p1+Nh/C0oIbUAQcgPgf8SsrZoTVx2cb9X 4b/9YnP3PIbN/VkzJ2PzznmksQ== X-Received: by 2002:adf:82e1:: with SMTP id 88mr37664379wrc.376.1594209782309; Wed, 08 Jul 2020 05:03:02 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id m62sm3964997wmm.42.2020.07.08.05.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 05:03:00 -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 25/30] scsi: aacraid: linit: Fix a couple of small kerneldoc issues Date: Wed, 8 Jul 2020 13:02:16 +0100 Message-Id: <20200708120221.3386672-26-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 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 Cc: "PMC-Sierra, Inc" Signed-off-by: Lee Jones --- drivers/scsi/aacraid/linit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1 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