From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: [PATCH 0/2] ACPI/IORT: handle potential overflows Date: Tue, 18 Dec 2018 19:48:39 +0100 Message-ID: <20181218184841.20034-1-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: sudeep.holla-5wv7dgnIgG8@public.gmane.org, robin.murphy-5wv7dgnIgG8@public.gmane.org List-Id: linux-acpi@vger.kernel.org I saw a couple places where overflows could potentially occur. I've only compile tested these changes. Thanks, drew Andrew Jones (2): ACPI/IORT: Handle potential overflow in iort_dma_setup iommu/dma: Handle potential overflow in iommu_dma_init_domain drivers/acpi/arm64/iort.c | 7 ++++++- drivers/iommu/dma-iommu.c | 15 +++++++++------ 2 files changed, 15 insertions(+), 7 deletions(-) -- 2.17.2