Messages in this thread | | | Date | Wed, 12 Sep 2012 14:32:49 +0200 | From | Paolo Bonzini <> | Subject | Re: [PATCH 2/3] scsi: create an all-zero filter for scanners |
| |
Il 12/09/2012 14:36, Alan Cox ha scritto: >> > switch (sdev->type) { >> > + case TYPE_SCANNER: >> > + sdev->request_queue->cmd_filter = >> > + kzalloc(sizeof(struct blk_cmd_filter), GFP_KERNEL); >> > + /* fallthrough */ > Is that really desireable in the kzalloc failing case ?
Hmm, there is another kmalloc failure in the series that is worse than this one, actually.
Paolo
| |