Skip to content

/dev/mem cleanups and bug fix

Wu Fengguang lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3devmem: remove redundant test on lendrivers/char/mem.c+6 -82 replies
2/3devmem: introduce size_inside_page()drivers/char/mem.c+19 -412 replies
3/3devmem: cleanup unxlate_dev_mem_ptr() callsdrivers/char/mem.c+5 -82 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndi Kleen
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] /dev/mem cleanups and bug fix

Hi Andrew,

Here are three patches for /dev/[k]mem.
They are mostly code cleanups, plus a minor bug fix:
if someone read high mem via /dev/kmem starting from an unaligned address, it's calculation of 'len' will go wrong.

I would recommend them for .32.

Thanks,
Fengguang