]> err.no Git - linux-2.6/commitdiff
[PATCH] iscsi gfp_t annotations
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 15 Dec 2005 09:17:19 +0000 (09:17 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 15 Dec 2005 18:04:29 +0000 (10:04 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/iscsi_tcp.c
drivers/scsi/scsi_transport_iscsi.c

index 4fea3e4edaa7148803fcfa8bbe49c83a538bcb51..3d8009f55342c9f0d93270ec5780739030428e1c 100644 (file)
@@ -3368,7 +3368,7 @@ iscsi_conn_set_param(iscsi_connh_t connh, enum iscsi_param param,
        switch(param) {
        case ISCSI_PARAM_MAX_RECV_DLENGTH: {
                char *saveptr = conn->data;
-               int flags = GFP_KERNEL;
+               gfp_t flags = GFP_KERNEL;
 
                if (conn->data_size >= value) {
                        conn->max_recv_dlength = value;
index 49fd18c1a9c6d2d4daa433fd8b5ef15ff0ff8ae6..e08462d50c97e885305b218761407a74911b8f71 100644 (file)
@@ -249,7 +249,7 @@ static inline struct list_head *skb_to_lh(struct sk_buff *skb)
 }
 
 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;