cobalt kernel compile issue
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
Quoted 9 lines · Matthias Schneider
This commit
8ac3db811d2150434a35fefca5bd3b467139f6e8cobalt/rtdm: extract fd APIseems 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 'structrtdm_fd'
Quoted 8 lines
__entry->fd = context->fd;[...]
It appears that file rtdm file descriptors are struct
rtdm_fdnow 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.