Skip to content

Commit

Permalink
include-linux-apply-__malloc-attribute-checkpatch-fixes
Browse files Browse the repository at this point in the history
ERROR: "foo * bar" should be "foo *bar"
raspberrypi#171: FILE: include/linux/mempool.h:35:
+extern void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;

Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Apr 3, 2016
1 parent 9db3d83 commit d5e81e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mempool.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn,

extern int mempool_resize(mempool_t *pool, int new_min_nr);
extern void mempool_destroy(mempool_t *pool);
extern void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc;
extern void mempool_free(void *element, mempool_t *pool);

/*
Expand Down

0 comments on commit d5e81e5

Please sign in to comment.