[dpdk-stable] [PATCH v2] pci/windows: fix limit for hardware ID

Thomas Monjalon thomas at monjalon.net
Tue Jan 5 13:42:30 CET 2021


11/12/2020 21:09, Dmitry Kozlyuk:
> Length of hardware IDs list is limited by REGSTR_VAL_MAX_HCID_LEN [1],
> which is currently 1024. With the old limit of 260, obtaining the list
> could fail in a rare occasion of a very long result (no examples known).
> This also removes a bogus dependency on the maximum path length.
> 
> [1]: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/hardware-ids
> 
> Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers")
> Cc: stable at dpdk.org
> Cc: Tal Shnaiderman <talshn at nvidia.com>
> 
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>

Applied, thanks





More information about the stable mailing list