[Stgt-devel] [PATCH 1/4] compile fixes

FUJITA Tomonori fujita.tomonori
Mon Jan 29 10:20:17 CET 2007


From: Pete Wyckoff <pw at osc.edu>
Subject: [Stgt-devel] [PATCH 1/4] compile fixes
Date: Mon, 22 Jan 2007 14:02:45 -0500

> Compile fixes.
> 
> Signed-off-by: Pete Wyckoff <pw at osc.edu>
> ---
>  usr/scsi.c   |    6 ++++--
>  usr/target.c |    4 ++--
>  2 files changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/usr/scsi.c b/usr/scsi.c
> index 9e91a9f..e65e893 100644
> --- a/usr/scsi.c
> +++ b/usr/scsi.c
> @@ -224,7 +224,8 @@ static int __inquiry(struct tgt_device *dev, int host_no, uint8_t *lun_buf,
>  			result = SAM_STAT_GOOD;
>  
>  			if (dev && strlen(dev->scsi_sn)) {
> -				char *p, *q;
> +				uint8_t *p;
> +				char *q;

Thanks, merged.



More information about the stgt mailing list