[linux-dvb] [PATCH] mt312: coding style improvements

Matthias Schwarzott zzam at gentoo.org
Thu Dec 20 17:31:06 CET 2007


Hi Andreas, Hi List!

Changing mt312 driver today.

The first patch improves codingstyle - I did fix almost all things checkpatch 
lists.
I did not change if ((ret = func(a)) < 0) {

The second patch does remove extra KERN_DEBUG from dprintk calls, as dprintk 
already adds KERN_DEBUG:
#define dprintk(args...) \
        do { \
                if (debug) printk(KERN_DEBUG "mt312: " args); \
        } while (0)

Matthias

-- 
Matthias Schwarzott (zzam)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mt312_codingstyle.diff
Type: text/x-diff
Size: 14625 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20071220/e13d8e4e/attachment-0002.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mt312_remove_extra_KERN_DEBUG_from_dprintk.diff
Type: text/x-diff
Size: 1800 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20071220/e13d8e4e/attachment-0003.diff 


More information about the linux-dvb mailing list