Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev

+1 -4
+1 -4
drivers/scsi/libata-scsi.c
··· 2044 2044 else { 2045 2045 u8 *scsicmd = cmd->cmnd; 2046 2046 2047 - if (scsicmd[0] == INQUIRY) { 2047 + if ((scsicmd[0] == INQUIRY) && ((scsicmd[1] & 0x03) == 0)) { 2048 2048 u8 *buf = NULL; 2049 2049 unsigned int buflen; 2050 2050 ··· 2057 2057 * to indicate to the Linux scsi midlayer this is a modern 2058 2058 * device. 2) Ensure response data format / ATAPI information 2059 2059 * are always correct. 2060 - */ 2061 - /* FIXME: do we ever override EVPD pages and the like, with 2062 - * this code? 2063 2060 */ 2064 2061 if (buf[2] == 0) { 2065 2062 buf[2] = 0x5;