Stefan Richter wrote: > Thiago Farina wrote: >> - os_scsi_tapes = >> - (struct osst_tape **)kmalloc(osst_max_dev * sizeof(struct osst_tape *), >> - GFP_ATOMIC); >> + os_scsi_tapes = kmalloc(osst_max_dev * sizeof(struct osst_tape *), >> + GFP_ATOMIC); > Since you update the style of this kmalloc usage, you could at the same > time change the sizeof expression to sizeof(* os_scsi_tapes). PS: osst_max_dev * sizeof(* os_scsi_tapes) of course, if it wasn't obvious. -- Stefan Richter -=====-==-=- ---= =---- http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html