Re: [PATCH 3/3] commands: add i2c commands

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

 



Le 18/05/2010 11:26, Eric Bénard a écrit :
+static int do_i2c_write(struct command *cmdtp, int argc, char *argv[])
.../...
+		for (i = 0; i<  count; i++) {
+			tmp = hex2_bin(argv[optind+i]);
+			if (tmp<  1) {
this should be < 0

Eric

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux