> > + WARN(sysfs_create_link(&priv->cur_adap.dev.kobj, &priv->dev->kobj, > > + "demux_device"), > > + "can't create symlink to mux device\n"); > > + WARN(sysfs_create_link(&priv->dev->kobj, &priv->cur_adap.dev.kobj, > > + "channel-0"), > > + "can't create symlink to channel 0\n"); > > + > > Personally I'd rather not rely on side-effects from WARN statements, > but perhaps thats just me. It's a way to satisfy the __must_check from sysfs_create_link().
Attachment:
signature.asc
Description: PGP signature