Commit 9832a602 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix warnings for XFS

Patch from Stephen Hemminger <shemminger@osdl.org>
parent 27a5cb49
......@@ -199,7 +199,7 @@ qsort (void *const pbase, size_t total_elems, size_t size,
{
char *const end_ptr = &base_ptr[size * (total_elems - 1)];
char *tmp_ptr = base_ptr;
char *thresh = min(end_ptr, base_ptr + max_thresh);
char *const thresh = min_t(char *const, end_ptr, base_ptr + max_thresh);
register char *run_ptr;
/* Find smallest element in first threshold and place it at the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment