lkml.org 
[lkml]   [2024]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next v5 11/21] tools: move alignment-related macros to new <linux/align.h>
From
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@intel.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@intel.com>

\
 
 \ /
  Last update: 2024-05-27 14:46    [W:0.457 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site