[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <78166e23-d3d8-4e20-a453-33af1689e6c4@linuxfoundation.org>
Date: Thu, 20 Jun 2024 11:23:20 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Roman Storozhenko <romeusmeister@...il.com>,
Thomas Renninger <trenn@...e.com>, Shuah Khan <shuah@...nel.org>
Cc: Javier Carrasco <javier.carrasco.cruz@...il.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v2] cpupower: Change the var type of the 'monitor'
subcommand display mode
On 6/20/24 09:57, Roman Storozhenko wrote:
> There is a type 'enum operation_mode_e' contains the display modes of
> the 'monitor' subcommand. This type isn't used though, instead the
> variable 'mode' is of a simple 'int' type.
> Change 'mode' variable type from 'int' to 'enum operation_mode_e' in
> order to improve compiler type checking.
> Built and tested this with different monitor cmdline params. Everything
> works as expected, that is nothing changed and no regressions encountered.
>
> Signed-off-by: Roman Storozhenko <romeusmeister@...il.com>
> ---
> Changes in v2:
> - Moved cover letter content to the change log
> - Link to v1: https://lore.kernel.org/r/20240619-change-mode-type-v1-1-31e7e45028f0@gmail.com
Applied for Linux 6.11-rc1
https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=cpupower
thanks,
-- Shuah
Powered by blists - more mailing lists