
22 Oct
2009
22 Oct
'09
9:29 a.m.
>>printf("%s:%d\n", __FILE__, __LINE__);? Given that printf and the UART
works on your board that is.
I tried with this printf("%s:%d\n", /drivers/spi/spi-new.c, 72); 72 is the my line number but im gettin error . so what exactly should i specify in __FILE_ and __LINE__ places .plz let me know.
You shall not specify anything in __FILE__ and __LINE__, leave them exactly as I showed. The C pre-processor will replace them with the actual filename and line.
/Magnus