In case someone calls the macro with other helpers this might
break the code. Add brackets for consistency.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23204
Signed-off-by: Robert Marko <robimarko@gmail.com>
#define RTMDIO_931X_SMI_10GPHY_POLLING_SEL4 (0x0D00)
#define for_each_port(ctrl, pn) \
- for_each_set_bit(pn, ctrl->valid_ports, RTMDIO_MAX_PORTS)
+ for_each_set_bit(pn, (ctrl)->valid_ports, RTMDIO_MAX_PORTS)
/*
* On all Realtek switch platforms the hardware periodically reads the link status of all