lkml.org 
[lkml]   [2015]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3 v3] resource: Add new flag IORESOURCE_MEM_WARN

* Boaz Harrosh <boaz@plexistor.com> wrote:

> --- a/kernel/resource.c
> +++ b/kernel/resource.c
> @@ -1075,8 +1075,13 @@ struct resource * __request_region(struct resource *parent,
> break;
> if (conflict != parent) {
> parent = conflict;
> - if (!(conflict->flags & IORESOURCE_BUSY))
> + if (!(conflict->flags & IORESOURCE_BUSY)) {
> + if (conflict->flags & IORESOURCE_MEM_WARN)
> + pr_warn("request unknown region [mem %#010llx-%#010llx] %s\n",
> + conflict->start, conflict->end,
> + conflict->name);

Maybe:

'request region with unknown memory type [mem ...]'?

The driver (we hope!) very well knows about the region so
it's not totally unknown.

Thanks,

Ingo


\
 
 \ /
  Last update: 2015-02-24 10:21    [W:0.158 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site