Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932473Ab3GPNHu (ORCPT ); Tue, 16 Jul 2013 09:07:50 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:21023 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753962Ab3GPNHs (ORCPT ); Tue, 16 Jul 2013 09:07:48 -0400 X-AuditID: cbfee691-b7fef6d000002d62-e9-51e545a316c4 From: Cho KyongHo To: "'Grant Grundler'" Cc: "'Bartlomiej Zolnierkiewicz'" , "'Linux ARM Kernel'" , "'Linux IOMMU'" , "'Linux Kernel'" , "'Linux Samsung SOC'" , "'Hyunwoong Kim'" , "'Joerg Roedel'" , "'Kukjin Kim'" , "'Prathyush'" , "'Rahul Sharma'" , "'Subash Patel'" , "'Keyyoung Park'" References: <002b01ce797b$44d4ad10$ce7e0730$@samsung.com> <1933986.4vddYccClk@amdc1032> <009a01ce814d$840b48c0$8c21da40$@samsung.com> In-reply-to: Subject: RE: [PATCH v7 3/9] iommu/exynos: fix page table maintenance Date: Tue, 16 Jul 2013 22:07:46 +0900 Message-id: <002101ce8225$775a71e0$660f55a0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-language: ko Thread-index: AQLNCGHc5Tw70Lg/Z1yb1OqFMpmE+gJtmRjqAZnUgQQCSj+ZVJc3rCYw X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupileLIzCtJLcpLzFFi42I5/e+Zse5i16eBBv/+cVpsnLGe1eLVkR9M Fgv2W1t0zt7AbrH54DoWi94FV9ksGu9NYLPY9Pgaq8XlXXPYLGac38dkcWHFRnaLKYsOs1q0 XO9lcuD1eHJwHpPH7IaLLB53ru1h89i8pN5j8o3ljB59W1YxenzeJBfAHsVlk5Kak1mWWqRv l8CVsbbzOmPBe/aKZScXMDcwTmbrYuTkkBAwkTjyeCeULSZx4d56IJuLQ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aAODg4RAR2J+UvsQWqY BQ6ySEx48Aaq+xyjxIZlt1lAGjgFgiWer/oHtkJYwEXizPWFzCA2i4CqxPr+2WA1vAKWEkvW LoOyBSV+TL4HZjMLqEtMmreIGcKWl9i85i0zxKkKEjvOvmaEiItI7HvxDswWEXCT+H5rJfsE RqFZSEbNQjJqFpJRs5C0L2BkWcUomlqQXFCclJ5rpFecmFtcmpeul5yfu4kRnGyeSe9gXNVg cYhRgINRiYf3IOeTQCHWxLLiytxDjBIczEoivCGmTwOFeFMSK6tSi/Lji0pzUosPMSYDfTqR WUo0OR+YCPNK4g2NTcyMLI3MLIxMzM1JE1YS5z3Yah0oJJCeWJKanZpakFoEs4WJg1OqgTF/ s+C8FUfKlbXOtERpJi63tDnMpfT9e/MxVw/23jMH34lJ3Hhz2C2pTMNnJa/ewztzFP9v4pLy WSQds+vvlk0nNGzuvJ53T8E1QG+1RIWLzuyPdxb8WpkUaZ63slUwPXuebb+LSb7ps6L4VU7e u/daF7fEp6bdtTnwRO5v5JNd6gx88/xXWCuxFGckGmoxFxUnAgB4mZ0tegMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1222 Lines: 35 > From: grundler@google.com [mailto:grundler@google.com] On Behalf Of Grant Grundler > Sent: Tuesday, July 16, 2013 1:19 AM > > On Mon, Jul 15, 2013 at 4:21 AM, Cho KyongHo wrote: > ... > >> Maybe you could add LV1TABLE_SIZE define and use it here (there is > >> already a LV2TABLE_SIZE define)? > > > > Yes. But, LV2TABLE_SIZE is used in more places than one. > > I do not feel that it is needed to define LV1TABLE_SIZE for the single line. > > Cho, > #define's are part of the code "documentation". Doesn't really matter > how often it's used. I think Bartlomiej's suggestion is a good one. > > Key is to use "consistent" names so they makes sense to someone not > familiar with the code. In this case, we want to show this use is the > same way LV2TABLE_SIZE is used and serves the same purpose. > Ok. I agree the error handling code is not pretty to understand. I will change it in the next patch. > cheers. > grant Thank you. Cho KyongHo. -- 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/