Re: [PATCH] bus: fsl-mc: register the object drivers after misc_class exists

From
Ioana Ciornei <ioana.ciornei@nxp.com>
Date
2026-09-07 12:41:54
Also in
linuxppc-dev, lkml
Reply to
Vincent Jardin via B4 Relay, 2026-09-01
On Tue, Sep 01, 2026 at 10:04:37PM +0200, Vincent Jardin via B4 Relay wrote:
From: Vincent Jardin <vjardin@free.fr>

Unbinding and re-binding the root DPRC fails with:

  sysfs: cannot create duplicate filename '/dev/char/10:256'
    misc_register / fsl_mc_uapi_create_device_file /
    dprc_setup / dprc_probe
Do you mean that the above error messages are triggered by an unbind and
bind sequence like below?

$ echo dprc.1 > /sys/bus/fsl-mc/drivers/fsl_mc_dprc/unbind
$ echo dprc.1 > /sys/bus/fsl-mc/drivers/fsl_mc_dprc/bind

I am asking this because I cannot seem to trigger it myself. There is a
misc_deregister() which should remove the char device upon unbinding the
root DPRC.

Ioana

Thread (7 messages) 7 messages, 3 authors, last reply 2026-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help