lkml.org 
[lkml]   [2008]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: PAT bug fix for attribute type check after reserve_memtype

* Venki Pallipadi <venkatesh.pallipadi@intel.com> wrote:

> Bug fixes for reserve_memtype() call in __ioremap and
> pci_mmap_page_range(). If reserve_memtype returns non-zero, then it is
> an error and subsequent free is not required. Requested and returned
> prot value check should be done when reserve_memtype returns success.

thanks, applied.

> + if (retval) {
> + printk("reserve_memtype returned %d\n", retval);

that needs a KERN_INFO, and should be labeled "Warning: ...".

Ingo


\
 
 \ /
  Last update: 2008-03-25 15:37    [W:0.315 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site