Branches: 4.14-rpi...mcp25..fd-v..
I disabled option CONFIG_DEBUG_FS in my kernel config.
Driver compiled successful. Then I tested with cangen/candump in FD mode.
Candump doesn't get messages.
My notices:
Please, add "{}" to the describing DEBUG macroses (file mcp25xxfd_can_debugfs.h)
In the file mcp25xxfd_can.h variable submit_queue_count incremented through DEBUG macros.
I think, it is bug's decision.
static inline
void mcp25xxfd_can_queue_frame(struct mcp25xxfd_can_priv *cpriv,
s32 fifo, u16 ts, bool is_rx)
{
...
MCP25XXFD_DEBUGFS_INCR(cpriv->fifos.submit_queue_count);
}
Branches: 4.14-rpi...mcp25..fd-v.. I disabled option CONFIG_DEBUG_FS in my kernel config. Driver compiled successful. Then I tested with cangen/candump in FD mode. Candump doesn't get messages.
My notices: