diff options
author | Hannes Reinecke <hare@suse.de> | 2016-02-15 09:42:00 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-02-29 17:46:50 -0600 |
commit | f52e5629f66d5fd79ae8b8145d76ae0ddb47e142 (patch) | |
tree | fd7942e21ef8299161bd2ceec0be35db58e72b96 /block/blk-mq.c | |
parent | 9eb45d5cc541142896f5fe7896d824c1091197c9 (diff) | |
download | op-kernel-dev-f52e5629f66d5fd79ae8b8145d76ae0ddb47e142.zip op-kernel-dev-f52e5629f66d5fd79ae8b8145d76ae0ddb47e142.tar.gz |
PCI: Allow access to VPD attributes with size 0
It is not always possible to determine the actual size of the VPD
data, so allow access to them if the size is set to '0'.
Tested-by: Shane Seymour <shane.seymour@hpe.com>
Tested-by: Babu Moger <babu.moger@oracle.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Alexander Duyck <alexander.duyck@gmail.com>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions