aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2012-01-20 23:09:42 +0000
committerRussell King <[email protected]>2012-02-03 17:38:07 +0000
commit45c7f75fd4b57035cd35954986a2faefb07dac9d (patch)
tree1cab7610cd45d2b38334f62c49406a1b74ecdabe /lib/memory-notifier-error-inject.c
parentc4592ce4e8f69d78711d53f0a42ec1b4dbf00cde (diff)
MFD: mcp-sa11x0: convert mcp-sa11x0 to use platform resources
Patch taken from af9081ae64 (ARM: sa1100: Refactor mcp-sa11x0 to use platform resources.) by Jochen Friedrich <[email protected]>, and fixes applied. We can safely do this now that we have sanitized host removal; the original patch had use-after-free bugs in the removal code. Not only that, but there was no checking of the ioremap() return. The final change over Jochen's patch is that we wrap the base pointer selection inside the various register indexes, which reduces the possibility of the wrong register index being used. Acked-by: Jochen Friedrich <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions