RE: [PATCH] Convert width in bits to bytes in __acpi_ioremap_fast()

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

 



> What kind of failures are seen with this bug un-patched?
> (and thus, what kind of urgency do distros have to back-port this fix?)

Just noticed it was wrong when reading code - It hadn't caused me a
problem - and in most cases I don't think there is an issue - since
we actually round up all mappings to pages anyway, whether we have
the size in bits or bytes will generally not make any difference.

There might be some issues with addresses near the end of a page,
where using 64 as bytes would mean addr+size overflows onto the
next page, where addr+size/8 doesn't.  But I haven't looked hard
enough to see what would happen in this case.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux