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

Commit 94c1f90b authored by Morgan Gatti's avatar Morgan Gatti Committed by Greg Kroah-Hartman
Browse files

Staging: comedi: Fix bug and coding style issue in usbdux.c



This is a patch to the usbdux.c file that resolve 2 errors in coding and
fix the warning about lengt of code lines

Signed-off-by: default avatarMorgan Gatti <morgan.gatti@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6593dfac
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -835,7 +835,7 @@ static int firmwareUpload(struct usbduxsub *usbduxsub,

	if (sizeFirmware > FIRMWARE_MAX_LEN) {
		dev_err(&usbduxsub->interface->dev,
			"comedi_: usbdux firmware binary it too large for FX2.\n");
			"usbdux firmware binary it too large for FX2.\n");
		return -ENOMEM;
	}