[lkml]   [2008]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86: split e820 reserved entries record to late v4 - fix v7
Linus Torvalds wrote:
> Or we could do what Andrew suggested some time ago, and extend %p to do
> resource printing, like %pS and %pF.
> TOTALLY UNTESTED! But something like this might allow
> printk(KERN_DEBUG " reserve_region: (%s) %pR\n"
> res->name, res);
> and if I did things right it should print
> reserve_region: (name) [xx-xx]
> and maybe it's worth it. We certainly do seem to have a fair number of
> those irritating casts for resource printouts.

There is certainly a lot to be said for this. Using higher-level
interfaces keeps formatting consistent and gives us one place to change
things if desired.


 \ /
  Last update: 2008-10-13 23:57    [W:0.033 / U:0.952 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site