lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/8] staging: dgap: remove unneeded dgap_err()
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



\
 
 \ /
  Last update: 2014-07-15 09:21    [W:0.051 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site