Skip to contentSkip to conversation

cobalt kernel compile issue

Xenomai Matthias Schneider 2 participants 2 messages May 17, 2014

lore
Share & tools
lore
#0 lore raw

This commit

8ac3db811d2150434a35fefca5bd3b467139f6e8 cobalt/rtdm: extract fd API

seems to be the cause for the following kernel/cobalt compile issue:

include/trace/events/cobalt-rtdm.h: In function 'ftrace_raw_event_fd_event':
include/trace/events/cobalt-rtdm.h:27:15: error: incompatible types when assigning to type 'int' from type 'struct rtdm_fd' __entry->fd = context->fd;

[...]

It appears that file rtdm file descriptors are struct rtdm_fd now instead of ints, leaving the trace implementation in need of adaptation.

Regards,
Matthias

#1 lore raw
Quoted 9 lines · Matthias Schneider

This commit

8ac3db811d2150434a35fefca5bd3b467139f6e8 cobalt/rtdm: extract fd API

seems to be the cause for the following kernel/cobalt compile issue:

include/trace/events/cobalt-rtdm.h: In function 'ftrace_raw_event_fd_event':
include/trace/events/cobalt-rtdm.h:27:15: error: incompatible types when assigning to type 'int' from type 'struct rtdm_fd'

Quoted 8 lines
    __entry->fd = context->fd;

[...]

It appears that file rtdm file descriptors are struct rtdm_fd now instead of ints, leaving the trace implementation in need of adaptation.

Indeed, and we also have RTCAN and Analogy fixups to do after this change it seems. I'll handle this.

Signature · 1 line
Philippe.