[email protected], le Fri 29 Jun 2012 12:07:37 +0200, a écrit :
> I wouldn't even know how to add printk:s to the file,

Just add

printk("foobar\n");

inside the code. If it doesn't compile, move it a bit further :)

There are just a few things that you need to be aware of:

if (kjsdf)
   blabla

for (ljksdf)
   blabla

while(lksjdf)
   blabla

Do not put a printf between the if, for, while and the line following it
unless there are braces like this:

if (lkjsdf) {
   blabla
   ...

otherwise putting the printk there would move blabla out of the
if/for/while.

Samuel


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to