search for: page_code

Displaying 4 results from an estimated 4 matches for "page_code".

Did you mean: usage_code
2009 Oct 27
2
[PATCH 3/4] scsi-disk: Factor out SCSI command emulation
...nted */ BADF("optional INQUIRY command support request not implemented\n"); - goto fail; + goto invalid_cdb; } - else if (buf[1] & 0x1) { + else if (cdb[1] & 0x1) { /* Vital product data */ - uint8_t page_code = buf[2]; - if (len < 4) { + uint8_t page_code = cdb[2]; + if (datalen < 4) { BADF("Error: Inquiry (EVPD[%02X]) buffer size %d is " - "less than 4\n", page_code, len); - goto fail; +...
2009 Oct 27
2
[PATCH 3/4] scsi-disk: Factor out SCSI command emulation
...nted */ BADF("optional INQUIRY command support request not implemented\n"); - goto fail; + goto invalid_cdb; } - else if (buf[1] & 0x1) { + else if (cdb[1] & 0x1) { /* Vital product data */ - uint8_t page_code = buf[2]; - if (len < 4) { + uint8_t page_code = cdb[2]; + if (datalen < 4) { BADF("Error: Inquiry (EVPD[%02X]) buffer size %d is " - "less than 4\n", page_code, len); - goto fail; +...
2012 Nov 19
0
[PATCH 247/493] drivers/block: remove use of __devinit
...atic int __devinit cciss_enter_simple_mode(struct ctlr_info *h); +static void cciss_interrupt_mode(ctlr_info_t *); +static int cciss_enter_simple_mode(struct ctlr_info *h); static void start_io(ctlr_info_t *h); static int sendcmd_withirq(ctlr_info_t *h, __u8 cmd, void *buff, size_t size, __u8 page_code, unsigned char scsi3addr[], @@ -199,13 +199,13 @@ static void cciss_device_release(struct device *dev); static void cciss_free_gendisk(ctlr_info_t *h, int drv_index); static void cciss_free_drive_info(ctlr_info_t *h, int drv_index); static inline u32 next_command(ctlr_info_t *h); -static int __d...
2012 Nov 19
0
[PATCH 247/493] drivers/block: remove use of __devinit
...atic int __devinit cciss_enter_simple_mode(struct ctlr_info *h); +static void cciss_interrupt_mode(ctlr_info_t *); +static int cciss_enter_simple_mode(struct ctlr_info *h); static void start_io(ctlr_info_t *h); static int sendcmd_withirq(ctlr_info_t *h, __u8 cmd, void *buff, size_t size, __u8 page_code, unsigned char scsi3addr[], @@ -199,13 +199,13 @@ static void cciss_device_release(struct device *dev); static void cciss_free_gendisk(ctlr_info_t *h, int drv_index); static void cciss_free_drive_info(ctlr_info_t *h, int drv_index); static inline u32 next_command(ctlr_info_t *h); -static int __d...