lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/4] kmemcheck: remove annotations
On Sat 07-10-17 03:02:13, Sasha Levin wrote:
> Remove kmemcheck annotations, and calls to kmemcheck from the kernel.

How did you generate this? I suspect a git grep + sed? Because this
doesn't seem to be correct. I didn't get further than this

> @@ -266,7 +264,6 @@ static inline int dma_map_sg_attrs(struct device *dev, struct scatterlist *sg,
> struct scatterlist *s;
>
> for_each_sg(sg, s, nents, i)
> - kmemcheck_mark_initialized(sg_virt(s), s->length);
> BUG_ON(!valid_dma_direction(dir));
> ents = ops->map_sg(dev, sg, nents, dir, attrs);
> BUG_ON(ents < 0);

which doesn't really look correct. I appreciate you have split this up
and the resulting code might even be correct I find it quite important
to have such a large changes be reproducible by reviewers because it is
simply impossible to review this manually.
--
Michal Hocko
SUSE Labs

\
 
 \ /
  Last update: 2017-10-11 15:19    [W:0.045 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site