Re: [PATCH 6/8] staging: dgap: remove unneeded dgap_err()

From: Dan Carpenter
Date: Tue Jul 15 2014 - 02:47:43 EST


On Tue, Jul 15, 2014 at 12:02:23PM +0900, Daeseok Youn wrote:
> The dgap_err() is printing a message with pr_err(),
> so all those are replaced.
>

Take a look at how pr_fmt works.

#define pr_fmt(fmt) "dgap: " fmt

Then you can remove the "dgap: " from the beginning of each line.

Also all the "out of memory" messages can be removed because the kernel
prints its own message for that.

regards,
dan carpenter

--
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/