Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f96c377e authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Greg Kroah-Hartman
Browse files

staging: comedi: fix typo in error message



Fix typo in error message of dux commands allocation.

Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e08e02fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2398,7 +2398,7 @@ static int usbduxsub_probe(struct usb_interface *uinterf,
	usbduxsub[index].dux_commands = kzalloc(SIZEOFDUXBUFFER, GFP_KERNEL);
	usbduxsub[index].dux_commands = kzalloc(SIZEOFDUXBUFFER, GFP_KERNEL);
	if (!usbduxsub[index].dux_commands) {
	if (!usbduxsub[index].dux_commands) {
		dev_err(dev, "comedi_: usbdux: "
		dev_err(dev, "comedi_: usbdux: "
			"error alloc space for dac commands\n");
			"error alloc space for dux commands\n");
		tidy_up(&(usbduxsub[index]));
		tidy_up(&(usbduxsub[index]));
		up(&start_stop_sem);
		up(&start_stop_sem);
		return -ENOMEM;
		return -ENOMEM;