James Bottomley wrote: > @@ -1870,6 +1870,10 @@ static int __core_scsi3_update_aptpl_buf( > "No Registrations or Reservations\n"); > return 0; > } > + tmp = kmalloc(1024, GFP_KERNEL); > + if (!tmp) > + return -1; Shouldn't this return useful errorcodes all over the place instead of just -1? Like -ENOMEM? Eike
Attachment:
signature.asc
Description: This is a digitally signed message part.