android_kernel_xiaomi_sm8350/drivers/scsi
Martin K. Petersen 16d3ea26f8 [SCSI] Fix VPD inquiry page wrapper
Fix two bugs in the VPD page wrapper:

    - Don't return failure if the user asked for page 0

    - The end of buffer check failed to account for the page header size
      and consequently didn't work

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-09-16 11:48:48 -04:00
..
aacraid drivers: scsi: use newly introduced hex_to_bin() method 2010-08-11 08:59:02 -07:00
aic7xxx [SCSI] aic7xxx: Remove OS utility wrappers 2010-07-28 09:05:27 -05:00
aic7xxx_old fix comnment/printk typos concerning "empty" 2010-07-12 18:03:50 +02:00
aic94xx drivers/scsi/aic94xx/aic94xx_init.c: correct the size argument to kmalloc 2010-08-11 08:59:00 -07:00
arcmsr arcmsr_hba: Missing slab.h include 2010-08-17 18:07:43 -07:00
arm
be2iscsi [SCSI] be2iscsi: Fix for Login failure 2010-09-02 17:13:09 -03:00
bfa Merge branch 'params' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus 2010-08-12 10:01:59 -07:00
bnx2i scsi: fix bnx2i build errors 2010-08-11 08:59:01 -07:00
cxgb3i Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2010-08-04 15:15:15 -07:00
device_handler [SCSI] scsi_dh_rdac: Add Dell MD36xxi controller into RDAC device list 2010-07-28 09:05:43 -05:00
dpt
fcoe Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-08-04 15:31:02 -07:00
fnic scsi: remove private BIT macros 2010-08-11 08:59:01 -07:00
ibmvscsi [SCSI] ibmvfc: Driver version 1.0.9 2010-08-06 12:26:39 -05:00
libfc [SCSI] libfc: call fc_remote_port_chkready under the host lock. 2010-08-06 11:00:26 -05:00
libsas [SCSI] Unify SAM_ and SAM_STAT_ macros 2010-07-28 09:07:49 -05:00
lpfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2010-08-14 12:34:34 -07:00
megaraid
mpt2sas Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-08-04 15:31:02 -07:00
mvsas [SCSI] Unify SAM_ and SAM_STAT_ macros 2010-07-28 09:07:49 -05:00
osd [SCSI] fix bio.bi_rw handling 2010-09-02 17:11:55 -03:00
pcmcia pcmcia: remove memreq_t 2010-08-03 09:04:14 +02:00
pm8001 [SCSI] pm8001: introduce missing kfree 2010-08-06 12:06:08 -05:00
qla2xxx [SCSI] qla2xxx: Update version number to 8.03.04-k0. 2010-09-05 15:22:55 -03:00
qla4xxx drivers/scsi/qla4xxx: fix build 2010-08-20 09:34:56 -07:00
sym53c8xx_2 [SCSI] sd, sym53c8xx: Remove warnings after vsprintf %pV introducation. 2010-09-02 17:23:20 -03:00
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700_d.h_shipped
53c700.c scsi: 53c700: remove dma_is_consistent usage 2010-08-11 08:59:21 -07:00
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
a4000t.c
advansys.c fix typos concerning "initiali[zs]e" 2010-06-16 18:05:05 +02:00
aha152x.c
aha152x.h
aha1542.c aha1532: remove ISA_DMA_THRESHOLD usage 2010-08-07 18:15:46 +02:00
aha1542.h
aha1740.c
aha1740.h
aic7xxx_old.c
atari_NCR5380.c
atari_scsi.c
atari_scsi.h
atp870u.c
atp870u.h
BusLogic.c
BusLogic.h
bvme6000_scsi.c
ch.c drivers/scsi/ch.c: don't use vprintk as macro 2010-08-11 08:59:01 -07:00
constants.c [SCSI] Fix warning: zero-length gnu_printf format string 2010-09-02 17:15:31 -03:00
dc395x.c dc395x: decrease iteration for tag_number of max_command in start_scsi() 2010-08-11 08:59:00 -07:00
dc395x.h
dmx3191d.c
dpt_i2o.c [SCSI] dpt_i2o: move range check forward 2010-07-28 09:05:43 -05:00
dpti.h
dtc.c
dtc.h
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp_scsi.c
esp_scsi.h
fd_mcs.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380_mmio.c
g_NCR5380.c g_NCR5380: fix broken MMIO compilation 2010-08-11 08:59:00 -07:00
g_NCR5380.h g_NCR5380: fix broken MMIO compilation 2010-08-11 08:59:00 -07:00
gdth_ioctl.h
gdth_proc.c
gdth_proc.h
gdth.c gdth: unmap ccb_phys when scsi_add_host() fails in gdth_eisa_probe_one() 2010-08-11 08:59:00 -07:00
gdth.h
gvp11.c
gvp11.h
hosts.c [SCSI] implement runtime Power Management 2010-07-28 09:07:50 -05:00
hpsa_cmd.h [SCSI] hpsa: Fix hard reset code. 2010-07-27 12:02:00 -05:00
hpsa.c [SCSI] hpsa: disable doorbell reset on reset_devices 2010-09-02 17:14:44 -03:00
hpsa.h [SCSI] hpsa: remove unused firm_ver member of the per-hba structure 2010-07-27 12:01:15 -05:00
hptiop.c [SCSI] hptiop: Eliminate a NULL pointer dereference 2010-07-27 12:01:01 -05:00
hptiop.h
ibmmca.c
imm.c
imm.h
in2000.c
in2000.h
initio.c drivers/scsi: remove unnecessary NULL test 2010-08-11 08:59:00 -07:00
initio.h
ipr.c [SCSI] ipr: fix resource type update and add sdev and shost attributes 2010-07-28 09:05:40 -05:00
ipr.h [SCSI] ipr: change endian swap key to match hardware spec change 2010-07-27 12:03:55 -05:00
ips.c
ips.h
iscsi_boot_sysfs.c [SCSI] iscsi boot: mv iscsi_boot_sysfs to drivers/scsi 2010-08-06 10:45:07 -05:00
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2010-08-14 12:34:34 -07:00
lasi700.c
libiscsi_tcp.c
libiscsi.c
libsrp.c
mac53c94.c powerpc/macio: Fix probing of macio devices by using the right of match table 2010-06-02 17:50:38 +10:00
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
Makefile [SCSI] iscsi boot: mv iscsi_boot_sysfs to drivers/scsi 2010-08-06 10:45:07 -05:00
megaraid.c
megaraid.h
mesh.c powerpc/macio: Fix probing of macio devices by using the right of match table 2010-06-02 17:50:38 +10:00
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
ncr53c8xx.c
ncr53c8xx.h
NCR53c406a.c
NCR5380.c NCR5380: bit MR_DMA_MODE set twice in NCR5380_transfer_dma() 2010-08-11 08:59:00 -07:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
osst_detect.h
osst_options.h
osst.c osst: fix read buffer overflow 2010-08-11 08:58:59 -07:00
osst.h
pas16.c
pas16.h
pmcraid.c [SCSI] pmcraid : Remove unnecessary casts for void * pointers 2010-07-28 09:05:26 -05:00
pmcraid.h [SCSI] pmcraid: MSI-X support and other changes 2010-07-27 12:01:35 -05:00
ppa.c
ppa.h
ps3rom.c
qla1280.c
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
qlogicpti.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
raid_class.c
script_asm.pl
scsi_debug.c [SCSI] scsi_debug: fix map_region and unmap_region oops 2010-07-27 12:03:55 -05:00
scsi_devinfo.c
scsi_error.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2010-08-14 12:34:34 -07:00
scsi_ioctl.c
scsi_lib_dma.c
scsi_lib.c [SCSI] fix use-after-free in scsi_init_io() 2010-09-09 09:58:18 -05:00
scsi_logging.h
scsi_module.c
scsi_netlink.c
scsi_pm.c [SCSI] implement runtime Power Management 2010-07-28 09:07:50 -05:00
scsi_priv.h SCSI: remove fake "address-of" expression 2010-08-06 09:17:02 -07:00
scsi_proc.c
scsi_sas_internal.h
scsi_scan.c [SCSI] implement runtime Power Management 2010-07-28 09:07:50 -05:00
scsi_sysctl.c
scsi_sysfs.c SCSI: remove fake "address-of" expression 2010-08-06 09:17:02 -07:00
scsi_tgt_if.c
scsi_tgt_lib.c [SCSI] tgt: fix warning 2010-08-11 00:55:42 -04:00
scsi_tgt_priv.h
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc_internal.h
scsi_transport_fc.c drivers: scsi: use newly introduced hex_to_bin() method 2010-08-11 08:59:02 -07:00
scsi_transport_iscsi.c [SCSI] iscsi_transport: wait on session in error handler path 2010-07-28 09:06:06 -05:00
scsi_transport_sas.c
scsi_transport_spi.c
scsi_transport_srp_internal.h
scsi_transport_srp.c
scsi_typedefs.h
scsi_wait_scan.c
scsi.c [SCSI] Fix VPD inquiry page wrapper 2010-09-16 11:48:48 -04:00
scsi.h
scsicam.c
sd_dif.c
sd.c [SCSI] sd: fix medium-removal bug 2010-09-07 10:31:54 -05:00
sd.h scsi/sd: remove big kernel lock 2010-08-07 18:26:08 +02:00
ses.c
sg.c drivers/scsi: use memdup_user 2010-08-11 08:59:02 -07:00
sgiwd93.c
sim710.c
sni_53c710.c
sr_ioctl.c
sr_vendor.c
sr.c block: push down BKL into .open and .release 2010-08-07 18:25:34 +02:00
sr.h
st_options.h
st.c st: use noop_llseek() instead of default_llseek() 2010-05-27 09:12:56 -07:00
st.h
stex.c
sun3_NCR5380.c block: remove wrappers for request type/flags 2010-08-07 18:17:56 +02:00
sun3_scsi_vme.c block: remove wrappers for request type/flags 2010-08-07 18:17:56 +02:00
sun3_scsi.c block: remove wrappers for request type/flags 2010-08-07 18:17:56 +02:00
sun3_scsi.h
sun3x_esp.c
sun_esp.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
sym53c416.c
sym53c416.h
t128.c
t128.h
tmscsim.c
tmscsim.h
u14-34f.c
ultrastor.c
ultrastor.h
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd7000.c
zalon.c
zorro7xx.c