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 11:39:50 +0000 (UTC)
    From:        christos%astron.com@localhost (Christos Zoulas)
    Message-ID:  <pem2i6$brn$1%blaine.gmane.org@localhost>

  | Looks like a bug to me; it overflows 32 bits. Try changing them from
  | https://nxr.netbsd.org/xref/src/sys/external/bsd/drm2/dist/drm/i915/i915_reg.h#5429
  |
  | (3 << 29) -> (3ULL << 29)

The LL would be wrong, it looks to be a 32 bit (4 byte) register.   Just the 
'U' is needed.

kre



Home | Main Index | Thread Index | Old Index