Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1688659 > unrolled thread

[PATCH] iommu/exynos: Replace non-existing big-endian Kconfig option

Started byKrzysztof Kozlowski <krzk@kernel.org>
First post2017-07-17 07:50 +0200
Last post2017-07-17 17:50 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] iommu/exynos: Replace non-existing big-endian Kconfig option Krzysztof Kozlowski <krzk@kernel.org> - 2017-07-17 07:50 +0200
    Re: [PATCH] iommu/exynos: Replace non-existing big-endian Kconfig option Krzysztof Kozlowski <krzk@kernel.org> - 2017-07-17 17:50 +0200

#1688659 — [PATCH] iommu/exynos: Replace non-existing big-endian Kconfig option

FromKrzysztof Kozlowski <krzk@kernel.org>
Date2017-07-17 07:50 +0200
Subject[PATCH] iommu/exynos: Replace non-existing big-endian Kconfig option
Message-ID<u474R-Uc-7@gated-at.bofh.it>
Wrong Kconfig option was used when adding warning for untested
big-endian capabilities. There is no CONFIG_BIG_ENDIAN option.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/iommu/exynos-iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 2395478dde75..b7aebaf28b82 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -54,7 +54,7 @@ typedef u32 sysmmu_pte_t;
 #define lv2ent_small(pent) ((*(pent) & 2) == 2)
 #define lv2ent_large(pent) ((*(pent) & 3) == 1)
 
-#ifdef CONFIG_BIG_ENDIAN
+#ifdef CONFIG_CPU_BIG_ENDIAN
 #warning "revisit driver if we can enable big-endian ptes"
 #endif
 
-- 
2.7.4

[toc] | [next] | [standalone]


#1689182

FromKrzysztof Kozlowski <krzk@kernel.org>
Date2017-07-17 17:50 +0200
Message-ID<u4grv-6VX-1@gated-at.bofh.it>
In reply to#1688659
On Mon, Jul 17, 2017 at 5:25 PM, kbuild test robot <lkp@intel.com> wrote:
> Hi Krzysztof,
>
> [auto build test WARNING on iommu/next]
> [also build test WARNING on v4.13-rc1 next-20170717]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url:    https://github.com/0day-ci/linux/commits/Krzysztof-Kozlowski/iommu-exynos-Replace-non-existing-big-endian-Kconfig-option/20170717-141202
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
> config: arm-allmodconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         make.cross ARCH=arm
>
> All warnings (new ones prefixed by >>):
>
>>> drivers//iommu/exynos-iommu.c:58:2: warning: #warning "revisit driver if we can enable big-endian ptes" [-Wcpp]
>     #warning "revisit driver if we can enable big-endian ptes"
>      ^~~~~~~

FYI,
Everything is fine, this is an expected warning which I am bringing
back to life.

Best regards,
Krzysztof

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web