Commit b53cb2a4 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] iscsi gfp_t annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 80ce8baf
...@@ -3368,7 +3368,7 @@ iscsi_conn_set_param(iscsi_connh_t connh, enum iscsi_param param, ...@@ -3368,7 +3368,7 @@ iscsi_conn_set_param(iscsi_connh_t connh, enum iscsi_param param,
switch(param) { switch(param) {
case ISCSI_PARAM_MAX_RECV_DLENGTH: { case ISCSI_PARAM_MAX_RECV_DLENGTH: {
char *saveptr = conn->data; char *saveptr = conn->data;
int flags = GFP_KERNEL; gfp_t flags = GFP_KERNEL;
if (conn->data_size >= value) { if (conn->data_size >= value) {
conn->max_recv_dlength = value; conn->max_recv_dlength = value;
......
...@@ -249,7 +249,7 @@ static inline struct list_head *skb_to_lh(struct sk_buff *skb) ...@@ -249,7 +249,7 @@ static inline struct list_head *skb_to_lh(struct sk_buff *skb)
} }
static void* static void*
mempool_zone_alloc_skb(unsigned int gfp_mask, void *pool_data) mempool_zone_alloc_skb(gfp_t gfp_mask, void *pool_data)
{ {
struct mempool_zone *zone = pool_data; struct mempool_zone *zone = pool_data;
......
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