[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87o73wszkw.ffs@tglx>
Date: Mon, 07 Oct 2024 17:27:27 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: David Laight <David.Laight@...LAB.COM>, Bart Van Assche
<bvanassche@....org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Russell King
<linux@...linux.org.uk>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, Clemens Ladisch <clemens@...isch.de>
Subject: RE: [PATCH 07/21] hpet: Switch to number_of_interrupts()
On Mon, Oct 07 2024 at 13:00, David Laight wrote:
> From: Thomas Gleixner <tglx@...utronix.de>
> In any case 'accessor functions' just move the global symbol from
> being a data symbol to a code symbol while obfuscating the
> code and making it harder to find where values are set and used.
That's nonsense. The accessor functions can be as easily grepped for as
the variable. So that's not making it harder at all, but it encapsulates
stuff better. That's the whole point of the exercise.
Thanks,
tglx
Powered by blists - more mailing lists