netlog: abide by the kernel coding rules

Used linux/scripts/checkpatch.pl to fix warnings/errors
Except for >80 char comments