lkml.org 
[lkml]   [2019]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] EDAC, pnd2: Fix ioremap() size in dnv_rd_reg() from 64K -> 32K
Date
-		base = ioremap((resource_size_t)addr, 0x10000);
+ base = ioremap((resource_size_t)addr, 0x8000);

Changing one magic value for another. :-(

Do different BIOS do different things? I don't recall seeing this error
(but perhaps I missed it, or perhaps the kernel has added better checks).

If this number is at the whim of the BIOS, is there some way to
figure out what is the right value on a specific implementation?

-Tony

\
 
 \ /
  Last update: 2019-08-08 23:05    [W:0.045 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site