Am Montag, den 21.12.2009, 16:52 +0100 schrieb Luc Verhaegen:
> - if ((gpio < 0) || (gpio > 31)) {
> + if ((gpio < 0) || (gpio > 0x40)) {
Sorry, I have to reject this one too. gpio == 0x40 is most probably
invalid, as it would be gpio_base + 0x100. This should read "gpio >=
0x40".
Nacked-by: Michael Karcher <[email protected]>
> + default:
> + fprintf(stderr,
> + "\nERROR: no nVidia LPC/SMBus controller found.\n");
> return -1;
> + }
> + break;
Maybe make that error message
"no supported nVidia LPC/SMBus controller found.\n"
Regards,
Michael Karcher
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom