From patchwork Mon Jun 3 17:23:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 13684004 Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0063413698B for ; Mon, 3 Jun 2024 17:23:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435425; cv=none; b=OlKMz10+/jKAeFG26Sg7n3MfP0rd4xJk52Q+SzJi7YdCYQGL2ptz7ryP9NS3FCyphN/S5aO6o1CF7wEQLfOorsOaZGwCaNqyGS3bgrjdiRsOdiwO/SFyj5uf/xqNklRYyuxcYNSOvgmiK977Sq06n1yOzdFUPj4LCU6W+51iR9s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435425; c=relaxed/simple; bh=URrDTijxdv9yZ7rKnRbajyPQBqmbr/ja7xxnRV756NE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b/aSWDtIGy6PJNY9xMgjzErCKFPJgO3PdS4IdH7XPedmBa8dFPLeLhTqojoItpM96jnOt7pNWmZVf2AtouRvz8UklR/3x2YRFhVCw6w8wsA9ir2q00h9477OqEiRE+WUN/RmUlOMo11QC7zbvaDHZnqIADGyLWWaUDSepOKOk08= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=n6lJnv6+; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="n6lJnv6+" Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4VtLDH2wjYzlgMVy; Mon, 3 Jun 2024 17:23:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=mr01; t=1717435421; x=1720027422; bh=h8Uaz 6pqrsRTpHNys/o4l2kZGD2BUls3+tQiVTknjbw=; b=n6lJnv6+CyFu/2+yl/f96 F3UKRvUgBumKJYVw7Yr9pRwALb5uGVnm9K/iG0IKAZf5kInfXKL23beym3/uzf41 K5S2G2sueW3ZUAxgd0pR8qm0Ltjqe2cETMB42Dv57yq0+dBj5RpPslRBAHdNsytY ua7dF4nd6rKyMMGkaPU9ls40LI0OqvNhMARU2lgAGgze6I8ScI6VZzdSs8BVHQS1 BLdko5qUaMQ8flNm12rBlexHzpjg5I60LeawSboPmJBDwreF3m0dE2EhTurZ63OS iQmhEG4aw8Hfw89q2qwJl8MpWMWrQ6lhlXgIWBLqpE895Fv5Z/cEz58mtrWP5LN0 g== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id KXdT71jOzc37; Mon, 3 Jun 2024 17:23:41 +0000 (UTC) Received: from bvanassche.mtv.corp.google.com (unknown [104.132.0.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4VtLDF0GyqzlgMVb; Mon, 3 Jun 2024 17:23:40 +0000 (UTC) From: Bart Van Assche To: "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, Bart Van Assche , Russell King , "James E.J. Bottomley" Subject: [PATCH 1/4] scsi: acornscsi: Declare local functions static Date: Mon, 3 Jun 2024 10:23:08 -0700 Message-ID: <20240603172311.1587589-2-bvanassche@acm.org> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog In-Reply-To: <20240603172311.1587589-1-bvanassche@acm.org> References: <20240603172311.1587589-1-bvanassche@acm.org> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Bart Van Assche --- drivers/scsi/arm/acornscsi.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/arm/acornscsi.c b/drivers/scsi/arm/acornscsi.c index 0b046e4b395c..e50a3dbf9de3 100644 --- a/drivers/scsi/arm/acornscsi.c +++ b/drivers/scsi/arm/acornscsi.c @@ -2450,7 +2450,7 @@ static int acornscsi_queuecmd_lck(struct scsi_cmnd *SCpnt) return 0; } -DEF_SCSI_QCMD(acornscsi_queuecmd) +static DEF_SCSI_QCMD(acornscsi_queuecmd) enum res_abort { res_not_running, res_success, res_success_clear, res_snooze }; @@ -2552,7 +2552,7 @@ static enum res_abort acornscsi_do_abort(AS_Host *host, struct scsi_cmnd *SCpnt) * Params : SCpnt - command to abort * Returns : one of SCSI_ABORT_ macros */ -int acornscsi_abort(struct scsi_cmnd *SCpnt) +static int acornscsi_abort(struct scsi_cmnd *SCpnt) { AS_Host *host = (AS_Host *) SCpnt->device->host->hostdata; int result; @@ -2634,7 +2634,7 @@ int acornscsi_abort(struct scsi_cmnd *SCpnt) * Params : SCpnt - command causing reset * Returns : one of SCSI_RESET_ macros */ -int acornscsi_host_reset(struct scsi_cmnd *SCpnt) +static int acornscsi_host_reset(struct scsi_cmnd *SCpnt) { AS_Host *host = (AS_Host *)SCpnt->device->host->hostdata; struct scsi_cmnd *SCptr; @@ -2679,8 +2679,7 @@ int acornscsi_host_reset(struct scsi_cmnd *SCpnt) * Params : host - host to give information on * Returns : a constant string */ -const -char *acornscsi_info(struct Scsi_Host *host) +static const char *acornscsi_info(struct Scsi_Host *host) { static char string[100], *p; From patchwork Mon Jun 3 17:23:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 13684005 Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1A71136E34 for ; Mon, 3 Jun 2024 17:23:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435426; cv=none; b=eIiDoxLCbRXhWV7WueCKIPdAgBKiou/fK2ltjCaecygIjZ7ZqXL5R3VVwGez8s96eQUWo8GiZNNQHjdcrAEcpECnyx75zKruExwr1VICSkGKTaQQw8+3UuYiZbs6ZNxkJtOUGCYGuLltsIvX3UeoC1gujWPuvjusk8A+QsYguTk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435426; c=relaxed/simple; bh=TyUOq1Yz8oE8LiNM26EYqE5GIP2M3m0HmKEj2xCVJhw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oCqJFzIVniq6iVYJFKBssI6WCTn4MsW3Lt+iWAGF62fQ9rHfUEcsuD+JdjtE/ThSKbUzAfJ5kKNXBRPX9UoN42ByXIfEEuMFgBgtq/4y9901VSDq2nOkn0pFCQQmHmhYLEVMyG9U0/zrwUUUGxNNg0Pma1JqjlG83NNaWAdbvsM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=us3NpbEV; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="us3NpbEV" Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4VtLDH5YYczlgMVb; Mon, 3 Jun 2024 17:23:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=mr01; t=1717435422; x=1720027423; bh=p2KBk fdq9iVpXkYSZiC1blWH+q3F2g2Zs2vFFB9Zp2I=; b=us3NpbEVt3D2TXMP3arlM beXPoX4R3QsYkzk/mmbobfd83xbY+Hr3uJAPwFi+o5y9djlu9JljEvLsQft/2ueP Pa4tFPBFAty5nDZzDbBQVGGLP2jOAOzN/0u43R3oeulXVFtSmVzBwdr8edu7pHjp dlQ3hqPAiSEHHLYYhSBa7NQ2rESvN24yMnSmaSqK4pr39bz+i97FEW1uw0PP2nrg WtSaRUqz3vWD2rurgtLLo4BvXk7boX3Y+d6lEEfOd7PBzsL3L6cl27tsBAxaNInd GQ/i2YXSZ4NXehv+zVjLBv0B4FNtwHtTT2JQi6vcWXOVdTdmh++4yedFwT1vuv/e g== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id uHOJ_Xok1LGc; Mon, 3 Jun 2024 17:23:42 +0000 (UTC) Received: from bvanassche.mtv.corp.google.com (unknown [104.132.0.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4VtLDF5B9SzlgMVc; Mon, 3 Jun 2024 17:23:41 +0000 (UTC) From: Bart Van Assche To: "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, Bart Van Assche , Russell King , "James E.J. Bottomley" Subject: [PATCH 2/4] scsi: cumana: Declare local functions static Date: Mon, 3 Jun 2024 10:23:09 -0700 Message-ID: <20240603172311.1587589-3-bvanassche@acm.org> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog In-Reply-To: <20240603172311.1587589-1-bvanassche@acm.org> References: <20240603172311.1587589-1-bvanassche@acm.org> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Bart Van Assche --- drivers/scsi/arm/cumana_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/arm/cumana_2.c b/drivers/scsi/arm/cumana_2.c index c5d8f4313b31..e460068f6834 100644 --- a/drivers/scsi/arm/cumana_2.c +++ b/drivers/scsi/arm/cumana_2.c @@ -296,7 +296,7 @@ cumanascsi_2_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) * Params : host - driver host structure to return info for. * Returns : pointer to a static buffer containing null terminated string. */ -const char *cumanascsi_2_info(struct Scsi_Host *host) +static const char *cumanascsi_2_info(struct Scsi_Host *host) { struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; static char string[150]; From patchwork Mon Jun 3 17:23:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 13684006 Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE81B137743 for ; Mon, 3 Jun 2024 17:23:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435427; cv=none; b=MThFlS6Kmgbj5h0NUmg1G5O5JerwChPoR/kxfgOUD3AUuureqbuX5LXYwBANCJBCEu6jY+TUSqqRrWv5V234qnbENPF6k81DFxEV6wuL79R0zCUSgq8jHD63TTfNsIclUPF897B8iuF6aoI8TBPdBZYfFLBofVNulPic2PJWLlE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435427; c=relaxed/simple; bh=Y+WJXP2fX6/PN7mqVvMwD05H59nuDB504BFx05kTk6Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iecVaAwQsK9kTMMAXsoPNGGOp5KBdelDEBtKDgjbyO5Dw+hoFixhhfc+x7q0Ru1HszZ9iBHEOMvw/i5O7JFKcabEqPyA+AiPt3D1/r8gKjtu+yksQ8PeIewfBC3pvritMw2ll8h6DJ7v6RBvp2wO8HJGaZA847/chs2JCVvGlbc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=hp00Rr4+; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="hp00Rr4+" Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4VtLDJ4rtnzlgMVc; Mon, 3 Jun 2024 17:23:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=mr01; t=1717435422; x=1720027423; bh=ohrV4 IM//73hbdg9v1M/xlYjly9AW97YPEhnHqeG9SQ=; b=hp00Rr4+ae2a2V6NnTfPb 1oop6fSgzXFrpGpZIcfuNqRO3dhxsY2pUfHFJAwHqSEp0Uc723dZgRS9nTPXvdQI 6QA/y0cdzGGjXJURqx2Han96m/mfrWsUOrPsAWDWkT2qo8do/Iry7gy8rKSq7Tm4 EHd/MgXFIzxfPQQQH2m7OQnpxLo3eMBrzRWsjPorYBjhUohHBIp9de8aaWfD6sGl V+mu+DFYaZW0d43GzZu6EEMbh2VHFsf9+GAXlEcvHn/OYJIPpIldK6SAyQ6i8SqJ qGX4yj5TMDhAfpS80g2022mmSthLTXkupoS8P4AISO3g78xIB/XsyYqpeimS05/k w== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id kemid1vhf7BG; Mon, 3 Jun 2024 17:23:42 +0000 (UTC) Received: from bvanassche.mtv.corp.google.com (unknown [104.132.0.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4VtLDG3Kr6zlgMVY; Mon, 3 Jun 2024 17:23:42 +0000 (UTC) From: Bart Van Assche To: "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, Bart Van Assche , Russell King , "James E.J. Bottomley" Subject: [PATCH 3/4] scsi: eesox: Declare local functions static Date: Mon, 3 Jun 2024 10:23:10 -0700 Message-ID: <20240603172311.1587589-4-bvanassche@acm.org> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog In-Reply-To: <20240603172311.1587589-1-bvanassche@acm.org> References: <20240603172311.1587589-1-bvanassche@acm.org> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Bart Van Assche --- drivers/scsi/arm/eesox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/arm/eesox.c b/drivers/scsi/arm/eesox.c index b3ec7635bc72..99be9da8757f 100644 --- a/drivers/scsi/arm/eesox.c +++ b/drivers/scsi/arm/eesox.c @@ -381,7 +381,7 @@ eesoxscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) * Params : host - driver host structure to return info for. * Returns : pointer to a static buffer containing null terminated string. */ -const char *eesoxscsi_info(struct Scsi_Host *host) +static const char *eesoxscsi_info(struct Scsi_Host *host) { struct eesoxscsi_info *info = (struct eesoxscsi_info *)host->hostdata; static char string[150]; From patchwork Mon Jun 3 17:23:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 13684007 Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DCBB137750 for ; Mon, 3 Jun 2024 17:23:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435427; cv=none; b=fcjAylb1oEN7PguQdmA0yydVxEg/ie9bRPHNjw7kgwKoFhF8nXKSWxDPruAByEoRmUsHqyYliYqq6xcrAFSz+QrUCzrfdQq2BAz2iXgrP/ny1fCwr8Mw2YygXbb1kAJav6gD3v1aLdPC08U/m2ZX4CaB4J2vEbnfLxj+O6cdAJg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717435427; c=relaxed/simple; bh=GBgeSF6rlzurcfKrtey93szxzSZhCMcVRmz6FLzGW7A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RVoUGMqhoTu0CqHuIVFfLF0nzEW+AWpiAtODVV52c1Aw+09lPwu+f83WeH83ZYG7xkxjmV2l9qTo/xMtiDjHYNXllUHnRBihnCZFunbyhMOWXxjbHzCU7rL8Ihyb4TjWTkQr5N7lib9eI88EypUo0fQdtg7xJCnXEYfJBZEpZY8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=OvbstpI8; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="OvbstpI8" Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4VtLDK39fjzlgMVY; Mon, 3 Jun 2024 17:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=mr01; t=1717435423; x=1720027424; bh=UfaT6 jmzoOYg2d312u9jWha/9o+/ic1r8sEDMdkxLFU=; b=OvbstpI81sDrK69A4cuIm FRA5RIWKz+BR1G+w6RT/L2WMiU9hN3zEsxIK8MYEB16TCpMWAhBj0zqkNuO8YGWJ epdnRtJcnzUa1hxJhCtjVxw2zCvwVUqDHXNpcuJ1y35SPQbS3erGgP75G8nELcxl JhJt7uEYhMTHb1zfTlpjz2+sWaFUSvQioeZTk6MxolfgSvMPuZnE20w1TjPgBi8t +gz6GVoXMMnw+4M4/BZ6bQI6if/CiZcJeiWUAU0pEttwmTJrP+fkSz8sCViZaice Co8rS8zLrzLwFvDkyFT82bc20SNc9h0pVlwHdLLERhOXHZpPJrEXDWaC6qiuYCob g== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id gTJh_qcqMkSJ; Mon, 3 Jun 2024 17:23:43 +0000 (UTC) Received: from bvanassche.mtv.corp.google.com (unknown [104.132.0.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4VtLDH1RhFzlgMVw; Mon, 3 Jun 2024 17:23:43 +0000 (UTC) From: Bart Van Assche To: "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, Bart Van Assche , Russell King , "James E.J. Bottomley" Subject: [PATCH 4/4] scsi: powertec: Declare local functions static Date: Mon, 3 Jun 2024 10:23:11 -0700 Message-ID: <20240603172311.1587589-5-bvanassche@acm.org> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog In-Reply-To: <20240603172311.1587589-1-bvanassche@acm.org> References: <20240603172311.1587589-1-bvanassche@acm.org> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Signed-off-by: Bart Van Assche --- drivers/scsi/arm/powertec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/arm/powertec.c b/drivers/scsi/arm/powertec.c index 3b5991427886..823c65ff6c12 100644 --- a/drivers/scsi/arm/powertec.c +++ b/drivers/scsi/arm/powertec.c @@ -184,7 +184,7 @@ powertecscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) * Params : host - driver host structure to return info for. * Returns : pointer to a static buffer containing null terminated string. */ -const char *powertecscsi_info(struct Scsi_Host *host) +static const char *powertecscsi_info(struct Scsi_Host *host) { struct powertec_info *info = (struct powertec_info *)host->hostdata; static char string[150];