On 02.06.2025 22:16:48, Vincent Mailhol wrote: > I really start to dislike all those function like macros in the rcar_canfd > driver. The only benefits of a function like macro is either to have type > polymorphism or to generate integer constant expression or to work with context > specific info (e.g. __func__ or __LINE__). > > Can you just change these five function like macros to static functions? > > And from now on, each time there is a need to modify one of the rcar_canfd, I > would like this to become an opportunity to little by little clean up that macro > madness. +1 Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung Nürnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature