Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB64EC433B4 for ; Sat, 10 Apr 2021 19:03:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 88D816115A for ; Sat, 10 Apr 2021 19:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234851AbhDJTEL (ORCPT ); Sat, 10 Apr 2021 15:04:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:44126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234768AbhDJTEL (ORCPT ); Sat, 10 Apr 2021 15:04:11 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6837D610D1; Sat, 10 Apr 2021 19:03:56 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lVIte-006kBh-Aj; Sat, 10 Apr 2021 20:03:54 +0100 Date: Sat, 10 Apr 2021 20:03:53 +0100 Message-ID: <874kgeezc6.wl-maz@kernel.org> From: Marc Zyngier To: Edmundo Carmona Antoranz Cc: catalin.marinas@arm.com, will@kernel.org, avagin@gmail.com, 0x7f454c46@gmail.com, mark.rutland@arm.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH -next] arm64: vdso: correct definition of macro vdso_clocksource_ok In-Reply-To: <20210410181117.23967-1-eantoranz@gmail.com> References: <20210410181117.23967-1-eantoranz@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: eantoranz@gmail.com, catalin.marinas@arm.com, will@kernel.org, avagin@gmail.com, 0x7f454c46@gmail.com, mark.rutland@arm.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, kernel-janitors@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: kernel-janitors@vger.kernel.org Hi Edmundo, On Sat, 10 Apr 2021 19:11:17 +0100, Edmundo Carmona Antoranz wrote: > > The macro vdso_clocksource_ok is shadowing a function with the same > name and so it actually makes no difference to have the macro defined > or not. No difference? Have you simply tried removing the macro and witness the effect? If it made no difference, why have the macro at all then? Also, run this, for example: git grep '^\#define' arch/arm64/include/asm/| awk '$2 == $3 { print }' Are you going to "fix" these too? Thanks, M. -- Without deviation from the norm, progress is not possible.