You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
USB: serial: generic driver is only for testing
Make some noise during probe to make sure the users are aware of the intended purpose of this driver. Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5eaee54b1c
commit
3a2300385f
@@ -845,6 +845,8 @@ static int usb_serial_probe(struct usb_interface *interface,
|
||||
module_put(type->driver.owner);
|
||||
return -EIO;
|
||||
}
|
||||
dev_info(&interface->dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n");
|
||||
dev_info(&interface->dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n");
|
||||
}
|
||||
#endif
|
||||
if (!num_ports) {
|
||||
|
||||
Reference in New Issue
Block a user