Messages in this thread | | | Date | Tue, 15 Jul 2014 09:47:16 +0300 | From | Dan Carpenter <> | Subject | Re: [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
| |