RT-Socket-CAN bug fix for no-filter definition
PATCH 1/1 RT-Socket-CAN bug fix for no-filter definition
Hello,
I just applied the following bug fix to the trunk for RT-Socket-CAN when using the no-filter definition. Here is the ChangeLog entry:
2007-02-19 Wolfgang Grandegger <[email protected]>
* ksrc/drivers/can/rtcan_raw.c (rtcan_raw_bind), ksrc/drivers/can/rtcan_socket.h: Fix bug using rtcan_flist_no_filter and use proper type for RTCAN_FLIST_NO_FILTER to get warnings.
Will do the same for 2.3.x.
Wolfgang.
Quoted 10 lines · Wolfgang Grandegger
Hello,
I just applied the following bug fix to the trunk for RT-Socket-CAN when using the no-filter definition. Here is the ChangeLog entry:
2007-02-19 Wolfgang Grandegger <[email protected]>
*
ksrc/drivers/can/rtcan_raw.c(rtcan_raw_bind),ksrc/drivers/can/rtcan_socket.h: Fix bug usingrtcan_flist_no_filterand use proper type forRTCAN_FLIST_NO_FILTERto get warnings.
Using static inlines instead of defines - where possible - helps to increase type-safety even further. rtcan_socket.h appear to contain some appropriate candidates.
Jan