Skip to content

Commit 65db3d8

Browse files
can: bittiming: can_calc_bittiming(): add missing parameter to no-op function
In commit 286c0e0 ("can: bittiming: can_changelink() pass extack down callstack") a new parameter was added to can_calc_bittiming(), however the static inline no-op (which is used if CONFIG_CAN_CALC_BITTIMING is disabled) wasn't converted. Add the new parameter to the static inline no-op of can_calc_bittiming(). Fixes: 286c0e0 ("can: bittiming: can_changelink() pass extack down callstack") Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent f2f527d commit 65db3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/can/bittiming.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void can_calc_tdco(struct can_tdc *tdc, const struct can_tdc_const *tdc_const,
124124
#else /* !CONFIG_CAN_CALC_BITTIMING */
125125
static inline int
126126
can_calc_bittiming(const struct net_device *dev, struct can_bittiming *bt,
127-
const struct can_bittiming_const *btc)
127+
const struct can_bittiming_const *btc, struct netlink_ext_ack *extack)
128128
{
129129
netdev_err(dev, "bit-timing calculation not available\n");
130130
return -EINVAL;

0 commit comments

Comments
 (0)