lkml.org 
[lkml]   [2024]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RESEND PATCH v3] x86/apic: Improve data types to fix Coccinelle warnings
From
On 3/18/24 03:47, Thorsten Blum wrote:
> Given that acpi_pm_read_early() returns a u32 (masked to 24 bits), several
> variables that store its return value are improved by adjusting their data
> types from unsigned long to u32. Specifically, change deltapm's type from
> long to u32 because its value fits into 32 bits and it cannot be negative.

Looks, good, thanks for the changes:

Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>

I'll put this in the queue.

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