tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GENERIC Kernel Build errors with -fsanitize=undefined option enabled



    Date:        Wed, 30 May 2018 19:11:19 +0800
    From:        Harry Pantazis <luserx0%gmail.com@localhost>
    Message-ID:  <CAFXTyT8Pc-SoDWHUSr6yNS8c9AAG59+wesgYaErbWWYPQYtx+g%mail.gmail.com@localhost>

  | Not a big deal, I'm writing a patch to overcome this issue and
  | continuing the error-checking.
  | All are encouraged to submit patches for a fix.

The constants are overflowing int (into the sign bit) - they just need to be 
made unsigned  4U << 29 (etc).

kre



Home | Main Index | Thread Index | Old Index