Răsfoiți Sursa

[PATCH] sg gfp_t annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 19 ani în urmă
părinte
comite
2d20eaf942
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/scsi/sg.c

+ 1 - 1
drivers/scsi/sg.c

@@ -1679,7 +1679,7 @@ static int
 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize)
 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize)
 {
 {
 	int sg_bufflen = tablesize * sizeof(struct scatterlist);
 	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
 	 * TODO: test without low_dma, we should not need it since