Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421343

Re: [patch] x86/ldt: silence a static checker warning

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [patch] x86/ldt: silence a static checker warning
Date 2016-06-13 23:20 +0200
Message-ID <rJHr4-3m2-29@gated-at.bofh.it> (permalink)
References <rJu0O-2EM-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jun 12, 2016 at 11:57 PM, Dan Carpenter
<dan.carpenter@oracle.com> wrote:
> It likely doesn't make a difference but my static checker complains
> that we put an upper bound on "size" but not a lower bound.  Let's just
> make it unsigned.

Shouldn't oldsize and newsize in write_ldt as well as the "size"
member in ldt_struct change, too?

--Andy

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[patch] x86/ldt: silence a static checker warning Dan Carpenter <dan.carpenter@oracle.com> - 2016-06-13 09:00 +0200
  Re: [patch] x86/ldt: silence a static checker warning Andy Lutomirski <luto@amacapital.net> - 2016-06-13 23:20 +0200
    Re: [patch] x86/ldt: silence a static checker warning Dan Carpenter <dan.carpenter@oracle.com> - 2016-06-14 12:50 +0200

csiph-web