lkml.org 
[lkml]   [2019]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/cacheinfo: fix a -Wtype-limits warning
On Wed, Jun 19, 2019 at 10:12:49AM -0700, Sean Christopherson wrote:
> Ha, no. My comment was that it'd be worth explaining that the original
> 'c->x86_model >= 0' check was completely bogus, even if the intent was
> something like 'c->x86_model != 0'.

Nah, the intent was, I believe, to convert a model range into a
conditional. If ->x86_model is not set we have bigger problems.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

\
 
 \ /
  Last update: 2019-06-19 19:19    [W:0.057 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site