tools/mm/page-types: Fix misc bugs
Status from this message: [merged mm-stable] tools-mm-page-types-fix-kpageflags-option-argument-in-getopt_long.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tools/mm/page-types: Fix typo in madvise() error messagetools/ | +2 | 2 replies | Applied |
| 2/3 | tools/mm/page-types: Fix ternary operator precedence in sigbus handlertools/ | +1 | 2 replies | Applied |
| 3/3 | tools/mm/page-types: Fix kpageflags option argument in getopt_longtools/ | +1 | 2 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand (Arm) | SeongJae Park |
|---|---|---|
| 1/3 | A-b | R-b |
| 2/3 | A-b | |
| 3/3 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] tools/mm/page-types: Fix misc bugs
From: Ye Liu <[email protected]>
This series fixes three issues in tools/mm/page-types.c:
1. Fix two typos in madvise() error messages ("madvice" -> "madvise")
2. Fix operator precedence bug in the sigbus handler where the ternary operator binds looser than addition, producing incorrect offset calculation when sigbus_addr is non-NULL
3. Fix --kpageflags option declaration in getopt_long: has_arg should be 1 (required_argument) since the option requires a file path
Ye Liu (3):
tools/mm/page-types: Fix typo in madvise() error message tools/mm/page-types: Fix ternary operator precedence in sigbus handler tools/mm/page-types: Fix kpageflags option argument in getopt_long
tools/mm/page-types.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0