On Mon, Jan 13, 2014 at 05:32:44PM +0530, Tushar Behera wrote:
On 13 January 2014 17:13, Mark Brown broonie@kernel.org wrote:
This probably needs to at least print a warning if the major number is being overridden.
Ok. I will update the patch with following print.
printk(KERN_WARNING "Device major number for %s is overridden\n", driver->name);
Thanks for reviewing.
The user might be interested to know what the original value was (and the new one but that's a bit more invasive).
Might also be useful to have this feature be optional though I'd see what Greg says.