Message ID | 1443570346-15378-6-git-send-email-al.stone@linaro.org |
---|---|
State | Accepted |
Commit | af5f3e5ae971567c9abaf33f6079d5b26d57aab9 |
Headers | show
Return-Path: <patchwork-forward+bncBCVJB75R4YBRBSWFVSYAKGQE7N45QWI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 2310C23009 for <linaro@patches.linaro.org>; Tue, 29 Sep 2015 23:46:20 +0000 (UTC) Received: by laer8 with SMTP id r8sf12366786lae.2 for <linaro@patches.linaro.org>; Tue, 29 Sep 2015 16:46:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=xNJQosITo0deq+g3qI55fmU2O3//9/Pu3dJLjfQC4Kc=; b=NkTxz0IcgZnJ+QMCQSRfYgzOllVy1191mvq4FrKDaz68PPM7eL3g0CQ7dKC0LS+zXu Ioe90eDXuCSRQOIdVvEYSWcocj+4M0zmdTAMHFLTgNlymWRq/ScI7g+Kw52Dpm7g9cYY pkCF1BDWQwzNg3O9qIR6KJunD3gNrCUEpmOY/Y00opOM2gCHsFVicPBUEpBgSgnjokvS UmUrqt1LMmPap/nwbBJ4TsdJo5e6t6WLgTunuzXPo54gkcqfNzrODK17r6ciQ1i0Mcog kO5cFi6pbe8hOb06Uqbd3o2q0UKiQDzDuJwXdFyN6dafd1xOn8kgyB4VXRtyWwU6Y7OH qNLQ== X-Gm-Message-State: ALoCoQnnpmaY5WMRFnqmSgmMbVeg5hqd8q+fz4tGyABWE+pFvs5jQn/Wpt/JKXX4bW9yZ6iLIr5l X-Received: by 10.152.9.65 with SMTP id x1mr76577laa.7.1443570378659; Tue, 29 Sep 2015 16:46:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.15.40 with SMTP id e40ls9019lfi.14.gmail; Tue, 29 Sep 2015 16:46:18 -0700 (PDT) X-Received: by 10.112.140.104 with SMTP id rf8mr151663lbb.30.1443570378531; Tue, 29 Sep 2015 16:46:18 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id 96si3908845lfs.51.2015.09.29.16.46.18 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 16:46:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by labzv5 with SMTP id zv5so27152133lab.1 for <patchwork-forward@linaro.org>; Tue, 29 Sep 2015 16:46:18 -0700 (PDT) X-Received: by 10.112.64.72 with SMTP id m8mr172791lbs.41.1443570378409; Tue, 29 Sep 2015 16:46:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2426920lbq; Tue, 29 Sep 2015 16:46:17 -0700 (PDT) X-Received: by 10.50.114.166 with SMTP id jh6mr1613851igb.47.1443570367453; Tue, 29 Sep 2015 16:46:07 -0700 (PDT) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com. [209.85.223.173]) by mx.google.com with ESMTPS id kd7si18750459igb.42.2015.09.29.16.46.07 for <patches@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 16:46:07 -0700 (PDT) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 209.85.223.173 as permitted sender) client-ip=209.85.223.173; Received: by ioiz6 with SMTP id z6so29208628ioi.2 for <patches@linaro.org>; Tue, 29 Sep 2015 16:46:07 -0700 (PDT) X-Received: by 10.107.17.159 with SMTP id 31mr1572270ior.126.1443570367058; Tue, 29 Sep 2015 16:46:07 -0700 (PDT) Received: from fidelio.ahs3.com (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id r40sm12256182ioe.20.2015.09.29.16.46.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 16:46:06 -0700 (PDT) From: Al Stone <al.stone@linaro.org> To: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-pm@vger.kernel.org, linaro-acpi@lists.linaro.org, linaro-kernel@lists.linaro.org, patches@linaro.org, Al Stone <al.stone@linaro.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Len Brown <lenb@kernel.org> Subject: [PATCH v5 5/5] ACPI: remove definition of BAD_MADT_ENTRY macro Date: Tue, 29 Sep 2015 17:45:46 -0600 Message-Id: <1443570346-15378-6-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1443570346-15378-1-git-send-email-al.stone@linaro.org> References: <1443570346-15378-1-git-send-email-al.stone@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: al.stone@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 51a96a8..dd5bd228 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -127,10 +127,6 @@ static inline void acpi_initrd_override(void *data, size_t size) } #endif -#define BAD_MADT_ENTRY(entry, end) ( \ - (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ - ((struct acpi_subtable_header *)entry)->length < sizeof(*entry)) - struct acpi_subtable_proc { int id; acpi_tbl_entry_handler handler;
Now that we have introduced to bad_madt_entry(), and we have removed all the usages of the BAD_MADT_ENTRY macro from all of the various architectures that use it (arm64, ia64, x86), we can remove the macro definition since it is no longer used. Signed-off-by: Al Stone <al.stone@linaro.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Len Brown <lenb@kernel.org> --- include/linux/acpi.h | 4 ---- 1 file changed, 4 deletions(-)