Re: [PATCH 19/30] scsi: Remove explicit casts of [kv]alloc return values in osst driver

2007-08-24 Thread Jesper Juhl
On 24/08/07, Rolf Eike Beer <[EMAIL PROTECTED]> wrote: > Jesper Juhl wrote: > > [kv]alloc() return void *. No need to cast the return value. > > > @@ -5756,7 +5756,7 @@ static int osst_probe(struct device *dev) > > write_lock(&os_scsi_tapes_lock); > > if (os_scsi_tapes == NULL) { > >

Re: [PATCH 19/30] scsi: Remove explicit casts of [kv]alloc return values in osst driver

2007-08-24 Thread Rolf Eike Beer
Jesper Juhl wrote: > [kv]alloc() return void *. No need to cast the return value. > @@ -5756,7 +5756,7 @@ static int osst_probe(struct device *dev) > write_lock(&os_scsi_tapes_lock); > if (os_scsi_tapes == NULL) { > os_scsi_tapes = > - (struct osst_tap

[PATCH 19/30] scsi: Remove explicit casts of [kv]alloc return values in osst driver

2007-08-23 Thread Jesper Juhl
[kv]alloc() return void *. No need to cast the return value. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- drivers/scsi/osst.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 08060fb..3ad9d49 100644 --- a/drivers