Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp511248rdb; Thu, 22 Feb 2024 10:18:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUuJan0sjVOyJr/2NhawaUQtIdnpb39dw5Bf4QtHQUtWvSMgKFUH2GQcY+rU5Vozq0bZ1Hxlrw7EHbXYKxYgSdA/WldSWxjHZHHAvQefQ== X-Google-Smtp-Source: AGHT+IHXeymhAELHG/VjUmlp4dbJbmGfQdDkub32C0F94wnbxJ3hnZykZ6hhJp19lQ7dDUU6WSO+ X-Received: by 2002:ae9:c302:0:b0:787:635d:abad with SMTP id n2-20020ae9c302000000b00787635dabadmr13041711qkg.63.1708625886026; Thu, 22 Feb 2024 10:18:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708625886; cv=pass; d=google.com; s=arc-20160816; b=CJaPzutrR7qEymQNKx4DmUTZd2fIu94aCcOaBKvHAnhmcsUAmu0XTRJ+h/PIXAs8mX GTwXQuEjK5aVV1WNoyeM3W9G5BrXe+7YUcjKuufNTg3w5++stUOKl+DDugles41BHDRK 4ViL0letk4jO1G3z5S3K+mNeB9RRUOBO7BJRPZa4pcHvRBgxi3xE5MAKSssi5m1LvEvt EB4lqWXABDTHarMbJMmtiAY/XTMFMTIo8XKN/CzVZJf98GBlU8qhGV/sXi0//QhNeoT3 DaqePajH6+cQKs71zAz1wlDMNhDEVw2QqnktNIv1zKNyt0m4y5w85JaaCPqUcslZ3XWu uC+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/KDD/bgajALRVWO+j8th9FkNjs1Uxn5aRXvljpgi1rg=; fh=z9eX/06G3sfUCcRZ/qCPk8K63zxiDCp0T6cRXU425k4=; b=GbsiiiJOlLEJQdGz/Vt0Vn6/ki0VOuhnlgn/dFKad5vArrDVFkCPTFxEYoGu/337pM LeFiTJ3FeSGty/3Ber7KJXd/G89w6lPcMs454Oz0XeTpQjnXtouyHtSkSQQqORL6jPQv upikTPbvtCKiX3b0WMpgDkyJXngSbBZKAo3LE1SDZ+omyE2lqWV2hvPy4TQNZpjLAplX xlt9RgQfsnIsP6FlPFG7p7rrDq8vrS/2qZLvMBb/KRM3SbrIe/brRc2SnzKf4i/UYAAh PSnUm2oVkf7vYIYOwwJ+81g4B0nqJOfNQHveTTFcG9J4DCNorV5w5HvSKiwb3SxiHXC/ T+JA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iIbz+QgS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-77070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k5-20020a05620a0b8500b007876995029dsi8931646qkh.685.2024.02.22.10.18.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:18:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=iIbz+QgS; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-77070-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 285651C206A5 for ; Thu, 22 Feb 2024 18:17:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5511415CD67; Thu, 22 Feb 2024 18:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iIbz+QgS" Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D801815B971; Thu, 22 Feb 2024 18:14:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708625680; cv=none; b=MoxpTHG66W+nmma0VWkIzN7wTZkPrbiylGcC3/IC2GW1RqDzUuPJ4gIPYrtty3FDjEFAbw20KljBZvYC0QtnIFxgGwfn9VKp3qOwyDj6o5XAiWaPvPlk8nk2bX4pIrUQmTGABxo8yEUGSicZVmvDRmydSp9y5FVnvdPBtuP+Y9w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708625680; c=relaxed/simple; bh=VQAh5ZV9wY5Ul9uQ7BUU57UTPtumS14kEbBWZKhZ10Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cp/WNUNtjfeDEtfMijk+aLVwJBuMJv/0HURJF5WDQHPXvaQhvG2FEbL434MErhDFDX57InCH5fjvU3oJZnxms8bXJsejNAYhh6ClsPUHqI8O/0vyfXouFuUG27OjaEEVlj9p4T49hH1yiOe0h3x/AcmnO4iBpzEfAn499nDp5hg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iIbz+QgS; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-5129e5b8cecso98167e87.3; Thu, 22 Feb 2024 10:14:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708625677; x=1709230477; darn=vger.kernel.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=/KDD/bgajALRVWO+j8th9FkNjs1Uxn5aRXvljpgi1rg=; b=iIbz+QgSSQ++rAYG1JPchJDVB0s6ppR4L+a/x5JMhsLoDqA1C6kiO5YfHWST8lMdyB C8agKesKgqtxzRUXWZ67u7LxDjDPL/BQbBH+HYqLdjbyr3CeS17ekKV2TyXbKSyKFYvF WBEKBRGvvVgXCidbdFAs47yqNTgVyZs2kRj9Gpmc2RECmNPzWOhmWrDB3BFyUiB8hvpg 9yVEDrR5Rkjpj+Hb/fpwkik71ob4ajadZ6Fs/QO/XQOGPoJT/ZMzaIVqYqovD3kU0L07 dWGPPp/bvY5iHk+quT7EbVOXf5eXDD3/zkl+6xrhP5GL0JkRVFJqJOKCNqbLgBdkpE75 BCCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708625677; x=1709230477; 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=/KDD/bgajALRVWO+j8th9FkNjs1Uxn5aRXvljpgi1rg=; b=TDMVltf7IDpjTJ1/IMF/ZgpGuo8FaQXb6JAs3Pxs4CLDZAktXlAggQAQJlHPQpbmtb IgS4chj6a8mZeWt7ntTl6gLuiNfBUaBZwns+JRUBqCzZtfPG4qwikUUkwNvVgNyMz4U/ zHC3/ERqb/8PwpIhFNEo0cPS+Yp0OFcTqC9v8vgqnjoQQIHBlIe8Xb76CmINy0iYTEPb kgH+DQ5kJNBqoDziruE/tEvir7xcdmIH2gGeST40lIr5dXqa4mn7K+H+HfHUvFDZ6Ja4 2vwae5Zq+VJXdo4IQsNXHX9UwHtnDNDK+fo5meuwi7SlamsFt1nLqIHRaTP0WloNy+2b 3F1g== X-Forwarded-Encrypted: i=1; AJvYcCUCRUeojL91m34YbZGX8xiOqaGhqoIeIR+zV6+IDBdXqnP+GxiWi+LGKtEWJOO3lepFwsXyeHvDPafcRtF2NDLd80qUWfOlC1rfKT7XzLuQeafye1CtLDJzPqHHJUxParp20I9w3zd9fw== X-Gm-Message-State: AOJu0YyBnZg3K70pC93r6O4Uk5ZRu/Oixmj+PJMQ5gLT0HsnuYbBQevz Jxt3amDkVIQ2sbXqpWAQgzYhcJy16Z/VKjGHiTKUVhxnpMXTjAA4 X-Received: by 2002:a05:6512:1327:b0:512:99a3:62eb with SMTP id x39-20020a056512132700b0051299a362ebmr13469414lfu.54.1708625676990; Thu, 22 Feb 2024 10:14:36 -0800 (PST) Received: from localhost ([178.176.56.174]) by smtp.gmail.com with ESMTPSA id a10-20020ac25e6a000000b00512dd50af1dsm296800lfr.22.2024.02.22.10.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:14:36 -0800 (PST) From: Serge Semin To: Michal Simek , Alexander Stein , Borislav Petkov , Tony Luck , James Morse , Mauro Carvalho Chehab , Robert Richter Cc: Serge Semin , Punnaiah Choudary Kalluri , Dinh Nguyen , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 09/20] EDAC/synopsys: Drop local to_mci() macro definition Date: Thu, 22 Feb 2024 21:12:54 +0300 Message-ID: <20240222181324.28242-10-fancer.lancer@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240222181324.28242-1-fancer.lancer@gmail.com> References: <20240222181324.28242-1-fancer.lancer@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- drivers/edac/synopsys_edac.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c index 5099246db90e..21b0d791cb8b 100644 --- a/drivers/edac/synopsys_edac.c +++ b/drivers/edac/synopsys_edac.c @@ -940,7 +940,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. -- 2.43.0