All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] RT-Socket-CAN bug fix for no-filter definition
@ 2007-02-19 15:10 Wolfgang Grandegger
  2007-02-19 15:13 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Grandegger @ 2007-02-19 15:10 UTC (permalink / raw)
  To: xenomai-core

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  <wg@domain.hid>

* 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] [PATCH] RT-Socket-CAN bug fix for no-filter definition
  2007-02-19 15:10 [Xenomai-core] [PATCH] RT-Socket-CAN bug fix for no-filter definition Wolfgang Grandegger
@ 2007-02-19 15:13 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2007-02-19 15:13 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 615 bytes --]

Wolfgang Grandegger wrote:
> 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  <wg@domain.hid>
> 
> * 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-19 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19 15:10 [Xenomai-core] [PATCH] RT-Socket-CAN bug fix for no-filter definition Wolfgang Grandegger
2007-02-19 15:13 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.