linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 08/22] drivers/scsi/aic7xxx/aic79xx_core.c: make ahd_match_scb() static
@ 2006-06-30  9:33 akpm
  2006-07-03 14:06 ` Hannes Reinecke
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2006-06-30  9:33 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, akpm, bunk

From: Adrian Bunk <bunk@stusta.de>

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 drivers/scsi/aic7xxx/aic79xx.h      |    3 ---
 drivers/scsi/aic7xxx/aic79xx_core.c |    5 ++++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff -puN drivers/scsi/aic7xxx/aic79xx_core.c~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static drivers/scsi/aic7xxx/aic79xx_core.c
--- a/drivers/scsi/aic7xxx/aic79xx_core.c~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static
+++ a/drivers/scsi/aic7xxx/aic79xx_core.c
@@ -262,6 +262,9 @@ static void		ahd_update_coalescing_value
 						     u_int mincmds);
 static int		ahd_verify_vpd_cksum(struct vpd_config *vpd);
 static int		ahd_wait_seeprom(struct ahd_softc *ahd);
+static int		ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
+				      int target, char channel, int lun,
+				      u_int tag, role_t role);
 
 /******************************** Private Inlines *****************************/
 
@@ -7215,7 +7218,7 @@ ahd_busy_tcl(struct ahd_softc *ahd, u_in
 }
 
 /************************** SCB and SCB queue management **********************/
-int
+static int
 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target,
 	      char channel, int lun, u_int tag, role_t role)
 {
diff -puN drivers/scsi/aic7xxx/aic79xx.h~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static drivers/scsi/aic7xxx/aic79xx.h
--- a/drivers/scsi/aic7xxx/aic79xx.h~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static
+++ a/drivers/scsi/aic7xxx/aic79xx.h
@@ -1345,9 +1345,6 @@ int	ahd_pci_test_register_access(struct 
 /************************** SCB and SCB queue management **********************/
 void		ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
 					 struct scb *scb);
-int		ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
-			      int target, char channel, int lun,
-			      u_int tag, role_t role);
 
 /****************************** Initialization ********************************/
 struct ahd_softc	*ahd_alloc(void *platform_arg, char *name);
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 08/22] drivers/scsi/aic7xxx/aic79xx_core.c: make ahd_match_scb() static
  2006-06-30  9:33 [patch 08/22] drivers/scsi/aic7xxx/aic79xx_core.c: make ahd_match_scb() static akpm
@ 2006-07-03 14:06 ` Hannes Reinecke
  0 siblings, 0 replies; 2+ messages in thread
From: Hannes Reinecke @ 2006-07-03 14:06 UTC (permalink / raw)
  To: akpm; +Cc: James.Bottomley, linux-scsi, bunk

akpm@osdl.org wrote:
> From: Adrian Bunk <bunk@stusta.de>
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> Cc: James Bottomley <James.Bottomley@steeleye.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
> 
>  drivers/scsi/aic7xxx/aic79xx.h      |    3 ---
>  drivers/scsi/aic7xxx/aic79xx_core.c |    5 ++++-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff -puN drivers/scsi/aic7xxx/aic79xx_core.c~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static drivers/scsi/aic7xxx/aic79xx_core.c
> --- a/drivers/scsi/aic7xxx/aic79xx_core.c~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static
> +++ a/drivers/scsi/aic7xxx/aic79xx_core.c
> @@ -262,6 +262,9 @@ static void		ahd_update_coalescing_value
>  						     u_int mincmds);
>  static int		ahd_verify_vpd_cksum(struct vpd_config *vpd);
>  static int		ahd_wait_seeprom(struct ahd_softc *ahd);
> +static int		ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
> +				      int target, char channel, int lun,
> +				      u_int tag, role_t role);
>  
>  /******************************** Private Inlines *****************************/
>  
> @@ -7215,7 +7218,7 @@ ahd_busy_tcl(struct ahd_softc *ahd, u_in
>  }
>  
>  /************************** SCB and SCB queue management **********************/
> -int
> +static int
>  ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target,
>  	      char channel, int lun, u_int tag, role_t role)
>  {
> diff -puN drivers/scsi/aic7xxx/aic79xx.h~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static drivers/scsi/aic7xxx/aic79xx.h
> --- a/drivers/scsi/aic7xxx/aic79xx.h~drivers-scsi-aic7xxx-aic79xx_corec-make-ahd_match_scb-static
> +++ a/drivers/scsi/aic7xxx/aic79xx.h
> @@ -1345,9 +1345,6 @@ int	ahd_pci_test_register_access(struct 
>  /************************** SCB and SCB queue management **********************/
>  void		ahd_qinfifo_requeue_tail(struct ahd_softc *ahd,
>  					 struct scb *scb);
> -int		ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
> -			      int target, char channel, int lun,
> -			      u_int tag, role_t role);
>  
>  /****************************** Initialization ********************************/
>  struct ahd_softc	*ahd_alloc(void *platform_arg, char *name);
> _
Ack-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare@suse.de
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-03 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30  9:33 [patch 08/22] drivers/scsi/aic7xxx/aic79xx_core.c: make ahd_match_scb() static akpm
2006-07-03 14:06 ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).