[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 2 Feb 2024 12:37:54 +0100
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: Alexander Lobakin <aleksander.lobakin@...el.com>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski
<kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
CC: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>, Marcin Szycik
<marcin.szycik@...ux.intel.com>, Wojciech Drewek <wojciech.drewek@...el.com>,
Yury Norov <yury.norov@...il.com>, Andy Shevchenko <andy@...nel.org>, "Rasmus
Villemoes" <linux@...musvillemoes.dk>, Alexander Potapenko
<glider@...gle.com>, Jiri Pirko <jiri@...nulli.us>, Ido Schimmel
<idosch@...dia.com>, Simon Horman <horms@...nel.org>,
<linux-btrfs@...r.kernel.org>, <dm-devel@...hat.com>,
<ntfs3@...ts.linux.dev>, <linux-s390@...r.kernel.org>,
<intel-wired-lan@...ts.osuosl.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next v5 11/21] tools: move alignment-related macros to
new <linux/align.h>
On 2/1/24 13:22, Alexander Lobakin wrote:
> Currently, tools have *ALIGN*() macros scattered across the unrelated
> headers, as there are only 3 of them and they were added separately
> each time on an as-needed basis.
> Anyway, let's make it more consistent with the kernel headers and allow
> using those macros outside of the mentioned headers. Create
> <linux/align.h> inside the tools/ folder and include it where needed.
>
> Signed-off-by: Alexander Lobakin <aleksander.lobakin@...el.com>
> ---
> tools/include/linux/align.h | 12 ++++++++++++
> tools/include/linux/bitmap.h | 2 +-
> tools/include/linux/mm.h | 5 +----
> 3 files changed, 14 insertions(+), 5 deletions(-)
> create mode 100644 tools/include/linux/align.h
>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
Powered by blists - more mailing lists