Skip to contentSkip to conversation

RT-Socket-CAN bug fix for no-filter definition

PATCH In review Wolfgang Grandegger 2 participants 2 messages Feb 19, 2007

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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 using rtcan_flist_no_filter and use proper type for RTCAN_FLIST_NO_FILTER to 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