From patchwork Wed Mar 17 09:12:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403092 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp294664jai; Wed, 17 Mar 2021 02:14:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvVCcF4vjwiOSu8RVFoMMrf7LIEeezaG2vsnr0j143IXo0NkN2Jk2hsB2rVKg2idkyejzW X-Received: by 2002:a17:906:c414:: with SMTP id u20mr33935543ejz.215.1615972449221; Wed, 17 Mar 2021 02:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615972449; cv=none; d=google.com; s=arc-20160816; b=bhYjilBkf5nlhC8tW05a3rKH7/OoR7018qCY+ekPhGCwfCUlu2NntIBIUnscVZ1iPt hs6Dxi3sxY/8plSnx2kvgHcz/lr4VK9fAsWADWnyyWFnyhgWLwWwrtjcR93euw+kXq+I GLfhE5ev2O81tKBW+W8LnSYRh/dv17s5HLCYw022PddMhMpTGhE6L2U3rz4PRYNw/kfQ IlXE81NF2wKW208hJgnbpAIZ5IyUNRdIXxTitv9XmX8NFIiXR9AW8wM8Lv9YZqSbMZgK 5hiY24xo+jslJUOiXzbljrR3JCIT8lfqmfjPIdsds6VNYWSYcIXeHTf1je7FjoaQWTL2 MV4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Kpxpj9RY3Tz1buvtlliu/SfUSZOzhZdJwGgmrjmjL4c=; b=MKm+Y+0MyzMoyKrp94/eueTNCmZuDKxW8cbuUUf6fPT06Kezg7Zye3mDryYTSwJthP dMaxtQMllqxYUJaFYsWF4PawCRLjhR0LLp8gYPjl+HDtomO3MjPLwjUdtjEZl5bzjh6m HW4ExBnI23BDsmp89Aot3AghzAjjTkWiPWMbN5noaZ+3CYpSa3DSHNxTc9c8Ft0m0/t5 xefTI6TmnIpj5XAF587CnlQuJ1P5UqJqeydI+KXyJmiwJiZQa+XXLpp3m/RHSuqPEKft S1l4Gx56qtdmb6eQ+Ais9B3yp3yrhVbvSfDj+i3hPLGp2t1jXgko/i+0l3HfkrTFoqUQ kiTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ENZefxfv; 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 t15si15461864edq.164.2021.03.17.02.14.09 for ; Wed, 17 Mar 2021 02:14:09 -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=ENZefxfv; 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 S230527AbhCQJNm (ORCPT ); Wed, 17 Mar 2021 05:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbhCQJNA (ORCPT ); Wed, 17 Mar 2021 05:13:00 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 786AFC061760 for ; Wed, 17 Mar 2021 02:12:52 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 12so1009672wmf.5 for ; Wed, 17 Mar 2021 02:12:52 -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=Kpxpj9RY3Tz1buvtlliu/SfUSZOzhZdJwGgmrjmjL4c=; b=ENZefxfvp2SbLaisye3tgbpbWWpQrCXHaTbdFnQ7jF7oVLFWuLPED510b4pzbTPx6T qJ5UbDkPqrEpjwDmL0+UAsVELrgLAvENpJPTWWlfYh2eQlxjTRuPukX5GWJKNpEghVUT W4Q1LEGGpAYTMeQkwi1t1LW6I/GWJB5BSOfowD1op7cj4/CdhHZTn1iAR+CMfkBYyT6s GbNmu/FnHvKkj+bOPh3PZKlJ2/C7BtTB5lvFL0si86sLj3r33gFpxhMQAAL+DuV/6OsL 6EYXH8JojSR2IBU8VJro4y67zxHzg5ab2q9OSE56Z8HtpjPSKA4x/mhmRZ8zpOeY7Ly1 befw== 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=Kpxpj9RY3Tz1buvtlliu/SfUSZOzhZdJwGgmrjmjL4c=; b=ebDrsNotUsqPIjjGZKxOD2lEbrY6yqyO3MO/O35zE6inR8Zop6yw661LOdFwCgs4uS BsnDNCtJCSmvr5TCM5kL3yixHHIs+DaL3LKcG4TstrmQzCBs8cuSMjU5XbXMWZ4pS8IG t15pmPub2PNjUgIk92O8ir9rriKrRLPDwHu2DCBJh0fPfYgMAyaWBH/NJSc8DWRe1TTG 5L0gqVNTXS5rkpaHYuEZwnYljpwVItbAnZJzWOulvXLyS/NT+mW8psab5We3JBvYzpAa Mhb5PyTTZunh+HBi2heNSFToqqIAnECcsx+2omKR/Wis2g/gterAsSxgRW4kEtECRNHL 6r0g== X-Gm-Message-State: AOAM533klSZODwzfRrSDmI3hqOokL6TPRpZv4l7Ejk/jHLzjnZ0XMlDm EH7OSR/rpvGRrH6Lu1iFfFkANA== X-Received: by 2002:a7b:c3cd:: with SMTP id t13mr2675160wmj.109.1615972371169; Wed, 17 Mar 2021 02:12:51 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id e18sm12695886wru.73.2021.03.17.02.12.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 02:12:50 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" , Doug Ledford , Christoph Hellwig , Alan Cox , linux-scsi@vger.kernel.org Subject: [PATCH 11/36] scsi: a100u2w: Fix some misnaming and formatting issues Date: Wed, 17 Mar 2021 09:12:05 +0000 Message-Id: <20210317091230.2912389-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210317091230.2912389-1-lee.jones@linaro.org> References: <20210317091230.2912389-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/a100u2w.c:278: warning: expecting prototype for orc_exec_sb(). Prototype was for orc_exec_scb() instead drivers/scsi/a100u2w.c:596: warning: Function parameter or member 'target' not described in 'orc_device_reset' drivers/scsi/a100u2w.c:739: warning: Function parameter or member 'host' not described in 'orchid_abort_scb' drivers/scsi/a100u2w.c:739: warning: Function parameter or member 'scb' not described in 'orchid_abort_scb' drivers/scsi/a100u2w.c:915: warning: expecting prototype for inia100_queue(). Prototype was for inia100_queue_lck() instead Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Doug Ledford Cc: Christoph Hellwig Cc: Alan Cox Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/a100u2w.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index c99224a128f82..c9ed210d77b39 100644 --- a/drivers/scsi/a100u2w.c +++ b/drivers/scsi/a100u2w.c @@ -269,7 +269,7 @@ static u8 orc_nv_read(struct orc_host * host, u8 address, u8 *ptr) } /** - * orc_exec_sb - Queue an SCB with the HA + * orc_exec_scb - Queue an SCB with the HA * @host: host adapter the SCB belongs to * @scb: SCB to queue for execution */ @@ -586,7 +586,7 @@ static int orc_reset_scsi_bus(struct orc_host * host) * orc_device_reset - device reset handler * @host: host to reset * @cmd: command causing the reset - * @target; target device + * @target: target device * * Reset registers, reset a hanging bus and kill active and disconnected * commands for target w/o soft reset @@ -727,7 +727,7 @@ static void orc_release_scb(struct orc_host *host, struct orc_scb *scb) spin_unlock_irqrestore(&(host->allocation_lock), flags); } -/** +/* * orchid_abort_scb - abort a command * * Abort a queued command that has been passed to the firmware layer @@ -902,7 +902,7 @@ static int inia100_build_scb(struct orc_host * host, struct orc_scb * scb, struc } /** - * inia100_queue - queue command with host + * inia100_queue_lck - queue command with host * @cmd: Command block * @done: Completion function *