Message ID | 20230920191059.28395-10-fancer.lancer@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD2E0C04FEE for <linux-arm-kernel@archiver.kernel.org>; Wed, 20 Sep 2023 19:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kKHIVImZAjgdvwO37nRlDsJ2mN0PffSN+1d2CLsQmpg=; b=OqK+ZlmGR49mrn g5nnVBhBRU7oZzhlZMDt3ThNh43DM3aoqofbMvzbmCvRqcVCfw7RxDRVvBZyMB5ykEmIE3mEOhUB8 zZt4ANblPSooz+/CLSlrvh3wA+geMPCgtTR9Y6+iFl+5Nhr0oJHx+rMBpdEHAVeyDzwe9qt1zoJ/S A+OjPVGWkAKmcWkw8ZUoypbDnD81S4WJOUaV2UbXkHvsaCqDgOwfd4KHsAUwDj3fjeSTHaiYNBgZz wf6MJmfwqyA/91ZgyYF0TEuDIx+Nzzk8c0QM4mVFck5EuVguYjslMLYpyMalocKRIry4ChIQ/utKc 7rar+EOIiy5KU4dGLGmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qj2cL-003xJU-2K; Wed, 20 Sep 2023 19:12:10 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qj2by-003x1l-15 for linux-arm-kernel@lists.infradead.org; Wed, 20 Sep 2023 19:11:47 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2bfc1d8f2d2so1343691fa.0 for <linux-arm-kernel@lists.infradead.org>; Wed, 20 Sep 2023 12:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695237105; x=1695841905; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yHRQdHA2TrKcClwyZPJGHcHGoAWxrLE4S/rv0kc+7Gc=; b=WVPicISVY3jCuZ6JJdIMXrog78a1Hw/sGuPcM4Ihu5dCGty1/4HX3vQDtUGkrfJrp/ 1JwCK9XhCxoEot051f06+acqp8OodE9LrmWjhO3OLIwHf4+BKqEGliQaFAQgC3RBz2Ph Wp0eo3OpnK6YVsb2hvjQ7VuRAa0Za1wc1lF9fRU1y/TWtp7e92t3CDSMqjwhBfLuuCEk 54EjVAqZ7OUzHsWehk3eDi5/h8iu+rdi9UfQTqC3Vj5xoFtiPpi4+clhcZaJ36IeAoRm LNHq6SOeaVeufEJc8x1jjUWIDw9+plT0BYMmReKleNbNkG8ob+tHPrLkuOwriCE1ny4z StLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695237105; x=1695841905; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yHRQdHA2TrKcClwyZPJGHcHGoAWxrLE4S/rv0kc+7Gc=; b=U6MMviTL+fhe9YGoxLnbgwbXy2IsWbaSbeFcOsM12z+D3qqqVy5hdXloossq1kkamJ r1f79v28M6miqFHHk7O/8A4svt6kFIgUFO//MWamE3B3EW6dgYGR7uFLJhQY2nr6ihxz qkVIAVNmQcFF7B4WJH5S16RThslDBBLfiA1GwvL4r3/lK3577TUALtAqHBLnZHXNTLxc OZCI6eFmNYc27oD9tY2rj2oobhWr7Pms6u26bYftAwyLVJRG4RV265Tg/7dxalYF41I5 cZ7AdDpnU5wBvtbZX8xrvOq7L3quZgd21gimNLCtizcxOIrJFYoQ4uuPlbr4v/2rBh+5 K9/g== X-Gm-Message-State: AOJu0YyNzzX0hRlXIXRcbOGfkXa5WfiOP/MG/ZmotKXPLDLN2MSv+eOQ aIfOJVeDyF5SgRDJQAHTyig= X-Google-Smtp-Source: AGHT+IHd2CkZwttT4F2jXh6IaKu9rcVIvAB/uihrNi/Key7BOuuMoH3/wbQTh7zgdKEGQKF+hmaX5A== X-Received: by 2002:a2e:b5b7:0:b0:2c0:1ce3:c20c with SMTP id f23-20020a2eb5b7000000b002c01ce3c20cmr2389071ljn.3.1695237104782; Wed, 20 Sep 2023 12:11:44 -0700 (PDT) Received: from localhost ([178.176.81.97]) by smtp.gmail.com with ESMTPSA id s22-20020a2e81d6000000b002b9b90474c7sm79123ljg.129.2023.09.20.12.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 12:11:44 -0700 (PDT) From: Serge Semin <fancer.lancer@gmail.com> To: Michal Simek <michal.simek@amd.com>, Alexander Stein <alexander.stein@ew.tq-group.com>, Borislav Petkov <bp@alien8.de>, Tony Luck <tony.luck@intel.com>, James Morse <james.morse@arm.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Robert Richter <rric@kernel.org> Cc: Serge Semin <fancer.lancer@gmail.com>, Punnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>, Dinh Nguyen <dinguyen@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 09/20] EDAC/synopsys: Drop local to_mci() macro definition Date: Wed, 20 Sep 2023 22:10:33 +0300 Message-ID: <20230920191059.28395-10-fancer.lancer@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230920191059.28395-1-fancer.lancer@gmail.com> References: <20230920191059.28395-1-fancer.lancer@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230920_121146_378394_969CEAC2 X-CRM114-Status: GOOD ( 13.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
EDAC/mc/synopsys: Various fixes and cleanups
|
expand
|
diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c index c2ac2eb64642..0c6441719215 100644 --- a/drivers/edac/synopsys_edac.c +++ b/drivers/edac/synopsys_edac.c @@ -941,7 +941,6 @@ static const struct of_device_id synps_edac_match[] = { MODULE_DEVICE_TABLE(of, synps_edac_match); #ifdef CONFIG_EDAC_DEBUG -#define to_mci(k) container_of(k, struct mem_ctl_info, dev) /** * ddr_poison_setup - Update poison registers.
The to_mci() macro was added in commit 1a81361f75d8 ("EDAC, synopsys: Add Error Injection support for ZynqMP DDR controller") together with the errors injection debug feature. It turns out the absolutely the same macro-function has already been defined in the edac_mc.h (former edac_core.h) header file. No idea why it was needed to have a local version of the macro, but there is no point in it now. Drop the local macro-function definition for good. Signed-off-by: Serge Semin <fancer.lancer@gmail.com> --- drivers/edac/synopsys_edac.c | 1 - 1 file changed, 1 deletion(-)