Skip to content

Commit

Permalink
libnetcope - mdio: [FIX] initialize struct nc_mdio
Browse files Browse the repository at this point in the history
  • Loading branch information
martinspinler committed Aug 19, 2024
1 parent fee2fce commit cce49fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnfb/include/netcope/mdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ static inline void nc_mdio_etile_config(struct nc_mdio *mdio)

static inline struct nc_mdio *nc_mdio_open_no_init(const struct nfb_device *dev, int fdt_offset, int fdt_offset_ctrlparam)
{
struct nc_mdio mdio_tmp;
struct nc_mdio mdio_tmp = {0};
struct nc_mdio *mdio;
struct nfb_comp *comp;
const char *prop;
Expand Down

0 comments on commit cce49fd

Please sign in to comment.