Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760404AbbEEQMV (ORCPT ); Tue, 5 May 2015 12:12:21 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:50054 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753531AbbEEQMR (ORCPT ); Tue, 5 May 2015 12:12:17 -0400 From: Arnd Bergmann To: linaro-acpi@lists.linaro.org Cc: Suravee Suthikulanit , linux-arm-kernel@lists.infradead.org, herbert@gondor.apana.org.au, catalin.marinas@arm.com, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, will.deacon@arm.com, linux-crypto@vger.kernel.org, linux-acpi@vger.kernel.org, netdev@vger.kernel.org, davem@davemloft.net, lenb@kernel.org Subject: Re: [Linaro-acpi] [V2 PATCH 2/5] arm64 : Introduce support for ACPI _CCA object Date: Tue, 05 May 2015 18:12:06 +0200 Message-ID: <8157862.NJP1L4Rh25@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <5548EB42.5010800@amd.com> References: <1430838729-21572-1-git-send-email-Suravee.Suthikulpanit@amd.com> <5126612.k0u2CL2zi5@wuerfel> <5548EB42.5010800@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:LMK2+JJfXH01X+a1L2vTvRpvcx7N8iDxJS/dQI2RHSDVvaU3Ik8 GJx1oxyRNgf0/D4kZiQLlRzB7QostKOJPu6qE4DKmLJTfG0HM7xQAd3xqZuVSl3ldOJ5qnf KbQ6Xmh2X1QaPXiZv1eysl4U7KnCFGKqFbWbvl8bNh73HDYb1DtUI4mJMjL/B69EzNICbgl TgeTZqQvaFcH3JWN21/bQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 749 Lines: 19 On Tuesday 05 May 2015 11:09:38 Suravee Suthikulanit wrote: > > However, codes in several places are making use of dma_map_ops without > checking if the ops are NULL (i.e. > include/asm-generic/dma-mapping-common.h and in arch-specific > implementation). If setting it to NULL is what we are planning to > support, we would need to scrub the current code to put NULL check. > Also, would you consider if that is safe to do going forward? > > I mean the dma_mask pointer, not dma_map_ops. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/