On Tue, 22 Oct 2024 18:54:24 +0200
Serhii Iliushyk <sil-...@napatech.com> wrote:

> diff --git a/drivers/net/ntnic/include/flow_api.h 
> b/drivers/net/ntnic/include/flow_api.h
> index 790b2f6b03..748da89262 100644
> --- a/drivers/net/ntnic/include/flow_api.h
> +++ b/drivers/net/ntnic/include/flow_api.h
> @@ -61,6 +61,10 @@ struct flow_nic_dev {
>         void *km_res_handle;
>         void *kcc_res_handle;
> 
> +       void *group_handle;
> +       void *hw_db_handle;
> +       void *id_table_handle;
> +

Use of untyped pointers (void *) can lead to errors, it would have been better
to make these struct pointers.

Reply via email to