[dpdk-stable] [PATCH v2] raw/ifpga: fix ifpga device name format

Zhang, Qi Z qi.z.zhang at intel.com
Thu Apr 29 10:23:08 CEST 2021



> -----Original Message-----
> From: Huang, Wei <wei.huang at intel.com>
> Sent: Thursday, April 29, 2021 10:34 AM
> To: dev at dpdk.org; Xu, Rosen <rosen.xu at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: stable at dpdk.org; Zhang, Tianfei <tianfei.zhang at intel.com>; Yigit, Ferruh
> <ferruh.yigit at intel.com>; Huang, Wei <wei.huang at intel.com>
> Subject: [PATCH v2] raw/ifpga: fix ifpga device name format
> 
> The device name format used in ifpga_rawdev_create() was changed to
> "IFPGA:%02x:%02x.%x", but the format used in ifpga_rawdev_destroy() was
> left as "IFPGA:%x:%02x.%x", it should be changed synchronously.
> To prevent further similar errors, macro "IFPGA_RAWDEV_NAME_FMT" is
> defined to replace this format string.
> 
> Fixes: 9c006c45d0c5 ("raw/ifpga: scan PCIe BDF device tree")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Wei Huang <wei.huang at intel.com>
> Acked-by: Tianfei Zhang <tianfei.zhang at intel.com>
> Acked-by: Rosen Xu <rosen.xu at intel.com>
> ---
Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the stable mailing list