Messages in this thread | | | Date | Wed, 6 Jun 2012 15:05:29 -0700 | From | Anton Vorontsov <> | Subject | Re: [PATCH] pstore/ram: Add ramoops support for the Flattened Device Tree. |
| |
On Wed, Jun 06, 2012 at 11:00:27AM -0700, Bryan Freed wrote: [...] > Anyone have a strong feeling on dev_err vs pr_err and how/if this > transition should occur?
If you have a device, it's better to use dev_*(), since that way you'll get more information in the logs, e.g. which exact device caused the issue.
But this makes sense only for drivers that support multiple devices. Not the case for pstore now, though this might change in the future. (E.g. we might have several pstore nodes some day.)
Thanks,
-- Anton Vorontsov Email: cbouatmailru@gmail.com
| |