lkml.org 
[lkml]   [2022]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 5/6] topology/sysfs: Add format parameter to macro defining "show" functions for proc
On Fri, Jan 21, 2022 at 09:47:42AM -0800, Tony Luck wrote:
> All the simple (non-mask and non-list files in
> /sys/devices/system/cpu/cpu0/topology/ are currently printed as decimal
> integers.
>
> Refactor the macro that generates the "show" functions to take a format
> parameter to allow future files to display in other formats.
>
> No functional change.
>
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---
> drivers/base/topology.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

\
 
 \ /
  Last update: 2022-01-31 13:09    [W:0.206 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site