From: joro@8bytes.org ('Joerg Roedel')
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc()
Date: Fri, 16 Dec 2011 15:15:07 +0100 [thread overview]
Message-ID: <20111216141507.GB28302@8bytes.org> (raw)
In-Reply-To: <000401ccbbef$9b0389e0$d10a9da0$%cho@samsung.com>
On Fri, Dec 16, 2011 at 09:38:25PM +0900, KyongHo Cho wrote:
> Subject: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc()
>
> Since it is not guaranteed that an iommu driver initializes in its
> domain_init() function, it must be initialized with NULL to prevent
> calling a function in an arbitrary location when iommu fault occurred.
>
> Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>
Applied to iommu/fixes, thanks a lot.
prev parent reply other threads:[~2011-12-16 14:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-13 7:14 [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc() KyongHo Cho
2011-12-15 8:10 ` Joerg Roedel
2011-12-16 12:38 ` KyongHo Cho
2011-12-16 14:15 ` 'Joerg Roedel' [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111216141507.GB28302@8bytes.org \
--to=joro@8bytes.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).