Re: [PATCH] zfcp: Test kmalloc failure in scsi_get_vpd_page()

Boaz Harrosh
2009-11-05T08:29:03Z

On 11/04/2009 07:50 PM, James Bottomley wrote:
> On Wed, 2009-11-04 at 18:18 +0200, Boaz Harrosh wrote:
>
> The point of checking is not to send a VPD inquiry to USB devices that
> don't support it. These have a very limited range of supported VPD
> pages.
>

OK thanks. But maybe just define a MIN_INQUIRY_SIZE instead of hard
coded 32 everywhere, and use that. So in future if such a device is
found we can easily change it.

(Never say never ;-))

> James
>
>

Boaz