Re: [PATCH 2/2] driver core: class: warn if a compatibility class is registered

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +	pr_warn("Compatibility class %s will go away soon, please migrate userspace tools to use bus devices\n",
> > +		name);
> 
> That's not going to do anything except annoy users who have no control
> over this, sorry.  Please just fix up all of the kernel and then delete
> this function.

So, we deprecated this sysfs-class 15 years ago and hid it with a
Kconfig symbol. However, we never pursued this further, so e.g. Debian
has the Kconfig symbol still enabled. Can we really remove this from one
release to the next without another transition period? I am not afraid
of tools like lm-sensors which were converted long ago. But custom code
might rely on sysfs-paths created by this class. It was even advertised
in IPMI docs until last week (fixed now).

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux