Skip to content

Commit

Permalink
revert-mm-mempool-only-set-__gfp_nomemalloc-if-there-are-free-element…
Browse files Browse the repository at this point in the history
…s-checkpatch-fixes

ERROR: "foo * bar" should be "foo *bar"
torvalds#90: FILE: mm/mempool.c:311:
+void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask)

total: 5 errors, 0 warnings, 52 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

./patches/revert-mm-mempool-only-set-__gfp_nomemalloc-if-there-are-free-elements.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Jul 26, 2016
1 parent 53a063d commit 02fd476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/mempool.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ EXPORT_SYMBOL(mempool_resize);
* fail if called from an IRQ context.)
* Note: using __GFP_ZERO is not supported.
*/
void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask)
void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask)
{
void *element;
unsigned long flags;
Expand Down

0 comments on commit 02fd476

Please sign in to comment.