[PATCH 1/3] staging: line6: replace DEBUG_MESSAGES() with dev_dbg()

Dan Carpenter dan.carpenter at oracle.com
Wed Nov 14 14:40:41 UTC 2012


On Sun, Nov 11, 2012 at 01:52:24PM +0100, Stefan Hajnoczi wrote:
> +					dev_dbg(pod->line6.ifcdev,
> +						"wrong size of channel dump message (%d instead of %d)\n",
> +						pod->line6.message_length,
> +						(int)sizeof(pod->prog_data) +
> +						7);

Better to get rid of the cast.  You're already over the 80 character
limit so putting the "7);" on the line before is ok.

regards,
dan carpenter




More information about the devel mailing list