Re: [PATCH 11/13] ALSA: Deletion of checks before the function call "iounmap"
From: Dan Carpenter
Date: Wed Oct 26 2016 - 08:44:38 EST
On Wed, Oct 26, 2016 at 02:28:59PM +0200, Johannes Berg wrote:
> On Wed, 2016-10-26 at 15:26 +0300, Dan Carpenter wrote:
> > Someone was just mentioning in another thread that removing the check
> > from iounmap() is not portable to other arches and then I remembered
> > that Markus removed a bunch of these.
> >
> > We should consider reverting this, perhaps?
>
> Can't we teach all architectures? Not that reverting it would be a
> problem.
We probably should. I just didn't want to suggest it, in case it sounds
like volunteering... I'm not going to be able to do it because I'm on
the road for a bit.
regards,
dan carpenter