Re: [PATCH 01/29] Staging: comedi: fix printk issue in dt3000.c
From: Ryan Mallon
Date: Tue Dec 13 2011 - 20:35:46 EST
On 12/12/11 16:19, Ravishankar karkala Mallikarjunayya wrote:
> This is a patch to the dt3000.c file that fixes up a
> printk warning found by the checkpatch.pl tool.
>
> Converted printks to dev_<levels>.
>
> Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@xxxxxxxxxxxxxxx>
There are still numerous issues with these patches, some which have been
pointed out to you several times now and still exist:
- You are using printk/pr_info, etc where dev_info, etc should be used
- You are converting some KERN_CONT to multiline dev_info, and in doing
so are now printing useless strings.
- Some of the printk's you are 'fixing' should just get removed. Don't
blindly replace things, it just creates churn.
- You are converting some printks to dev_dbg and leaving dev->minor in
the string which is no longer needed.
- There are some subtle format changes introduced by the printk
changes. Not a big deal, but it should be noted in the changelog. It
might affect some userspace tools for the comedi drivers?
- You have multiple patches which do the same thing. Why are there two
patches for converting printk -> dev_dbg in das1800.c for example? Why
not do all of the conversion changes for one file in a single patch?
- Some of your patches don't do what they say they do.
- You have compile errors still.
Some these patches probably are worth applying, but they are just lost
in the noise.
~Ryan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/