lkml.org 
[lkml]   [2015]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf: kmaps: enforce usage of kmaps to protect futher bugs.
On 03/04/15 14:11, Jiri Olsa wrote:
> On Fri, Apr 03, 2015 at 08:47:57AM +0000, Wang Nan wrote:
>> This patch add checkings on every place where uses map__kmap and get
>> kmaps from struct kmap. Error messages are added at map__kmap to warn
>> invalud accessing of kmap (for the case of !map->dso->kernel, kmap(map)
>> is not exists at all). Also, introduces map__kmaps() to warn
>> uninitialized kmaps.
>
> looks ok, CC-ing Adrian

Look Ok to me too

Acked-by: Adrian Hunter <adrian.hunter@intel.com>



\
 
 \ /
  Last update: 2015-04-07 13:21    [W:0.056 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site