This change looks fine.

Reviewed-by: Tom Rix <t...@redhat.com>


In looking at the surrounding code i see the is-pf bool being found by checking 
the driver name.

That is a fairly expensive check.

Is there a better way to do that ?

Tom


On 10/6/20 3:04 AM, Maxime Coquelin wrote:
> This series fixes segfaults in fpga_5gnr_fec and fpga_lte_fec
> drivers when bbdev debug is enabled.
>
> Maxime Coquelin (2):
>   baseband/fpga_5gnr_fec: fix segfaults with debug
>   baseband/fpga_lte_fec: fix segfaults with debug
>
>  drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 4 ++--
>  drivers/baseband/fpga_lte_fec/fpga_lte_fec.c       | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>

Reply via email to