]> err.no Git - linux-2.6/commitdiff
[PATCH] sg gfp_t annotations
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 11:31:40 +0000 (06:31 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 01:58:27 +0000 (20:58 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/scsi/sg.c

index 7d0700091f3d6417e8c37ab6919b6a0de32042a9..2a547538d444fc94c836933e5fefd9d301d2493e 100644 (file)
@@ -1679,7 +1679,7 @@ static int
 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize)
 {
        int sg_bufflen = tablesize * sizeof(struct scatterlist);
-       unsigned int gfp_flags = GFP_ATOMIC | __GFP_NOWARN;
+       gfp_t gfp_flags = GFP_ATOMIC | __GFP_NOWARN;
 
        /*
         * TODO: test without low_dma, we should not need it since