Re: [PATCH] staging:comedi: Fixed coding convention issues.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joe Perches
Date: Sunday, June 13, 2010 - 11:11 am

On Sun, 2010-06-13 at 14:27 +0300, Henri Häkkinen wrote:

I think it's better to convert them.

Anything with "BUG" in the format
maybe should be converted to BUG_ON.


I'd ignore printk related long line warnings.

I suggest coalescing the format string to a single line
where reasonable.  If a single printk has non trailing
'\n's in a format, it may be better to split them up.

comedi_info("some incredibly long output line with error: %d\n"
	    "Another line with some other information: %d\n",
	    err, info);


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] staging:comedi: Fixed coding convention issues., Henri Häkkinen, (Sun Jun 13, 4:27 am)
Re: [PATCH] staging:comedi: Fixed coding convention issues., Joe Perches, (Sun Jun 13, 11:11 am)