[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201105105642.pgdxxlytpindj5fq@skbuf>
Date: Thu, 5 Nov 2020 12:56:42 +0200
From: Vladimir Oltean <olteanv@...il.com>
To: Marek BehĂșn <kabel@...nel.org>
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org,
Hayes Wang <hayeswang@...ltek.com>
Subject: Re: [PATCH net-next 3/5] r8152: add MCU typed read/write functions
On Thu, Nov 05, 2020 at 10:54:18AM +0100, Marek BehĂșn wrote:
> I thought that static inline functions are preferred to macros, since
> compiler warns better if they are used incorrectly...
Citation needed. Also, how do static inline functions wrapped in macros
(i.e. your patch) stack up against your claim about better warnings?
I guess ease of maintainership should prevail here, and Hayes should
have the final word. I don't really have any stake here.
Powered by blists - more mailing lists