Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scsi: acornscsi: Declare local functions static

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240603172311.1587589-2-bvanassche@acm.org
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
f5a954bb 1613e604

+4 -5
+4 -5
drivers/scsi/arm/acornscsi.c
··· 2450 2450 return 0; 2451 2451 } 2452 2452 2453 - DEF_SCSI_QCMD(acornscsi_queuecmd) 2453 + static DEF_SCSI_QCMD(acornscsi_queuecmd) 2454 2454 2455 2455 enum res_abort { res_not_running, res_success, res_success_clear, res_snooze }; 2456 2456 ··· 2552 2552 * Params : SCpnt - command to abort 2553 2553 * Returns : one of SCSI_ABORT_ macros 2554 2554 */ 2555 - int acornscsi_abort(struct scsi_cmnd *SCpnt) 2555 + static int acornscsi_abort(struct scsi_cmnd *SCpnt) 2556 2556 { 2557 2557 AS_Host *host = (AS_Host *) SCpnt->device->host->hostdata; 2558 2558 int result; ··· 2634 2634 * Params : SCpnt - command causing reset 2635 2635 * Returns : one of SCSI_RESET_ macros 2636 2636 */ 2637 - int acornscsi_host_reset(struct scsi_cmnd *SCpnt) 2637 + static int acornscsi_host_reset(struct scsi_cmnd *SCpnt) 2638 2638 { 2639 2639 AS_Host *host = (AS_Host *)SCpnt->device->host->hostdata; 2640 2640 struct scsi_cmnd *SCptr; ··· 2679 2679 * Params : host - host to give information on 2680 2680 * Returns : a constant string 2681 2681 */ 2682 - const 2683 - char *acornscsi_info(struct Scsi_Host *host) 2682 + static const char *acornscsi_info(struct Scsi_Host *host) 2684 2683 { 2685 2684 static char string[100], *p; 2686 2685