]> mj.ucw.cz Git - pciutils.git/commit
Stop early if the VPD is corrupt
authorMatthew Wilcox <matthew@wil.cx>
Wed, 13 May 2009 21:44:46 +0000 (15:44 -0600)
committerMartin Mares <mj@ucw.cz>
Sat, 4 Jul 2009 13:31:16 +0000 (15:31 +0200)
commit9eaaf5c77719fbdbf10804a1597cc95ecc22ac89
treefdd395666b7441c370e9607d1e73730e26131035
parent04885ef71099072b54bba3a6f47e3fd6590e3a23
Stop early if the VPD is corrupt

I have several cards which report more-or-less garbage in their VPD.
It can take an extraordinarily long time to read all their VPD and none
of it is of interest.  Instead, if we find an unknown resource type,
just stop trying to read any more.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
ls-vpd.c