msperl / linux-rpi

Other
22 stars 26 forks source link

wrong information when cat tx_fifos #14

Open Ypsclub opened 4 years ago

Ypsclub commented 4 years ago

Under mcp25xxfd_can_debugfs_tx_fifos function(mcp25xxfd_can_debugfs.c), it should report tx fifos information to user, not rx fifos , need correct as below

static void mcp25xxfd_can_debugfs_tx_fifos(struct mcp25xxfd_can_priv cpriv, struct dentry root) { struct dentry *dir = debugfs_create_dir("tx_fifos", root);

mcp25xxfd_can_debugfs_rxtx_fifos(&cpriv->fifos.tx, dir);

}

thanks.