diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-09-24 21:55:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-24 23:07:49 -0400 |
commit | 3cc27547d6ee2d50ecdd11e9127bc3cd1947e8dd (patch) | |
tree | d70857f363fea3f8bc928bd2fd10d9a277c119bd /drivers/scsi/aic94xx/aic94xx_hwi.c | |
parent | 855fc73bf81e8f99606d6f5914c5b7c3b079d718 (diff) |
[PATCH] SCSI gfp_t annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/aic94xx/aic94xx_hwi.c')
-rw-r--r-- | drivers/scsi/aic94xx/aic94xx_hwi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_hwi.c b/drivers/scsi/aic94xx/aic94xx_hwi.c index a24201351108..1d8c5e5f442e 100644 --- a/drivers/scsi/aic94xx/aic94xx_hwi.c +++ b/drivers/scsi/aic94xx/aic94xx_hwi.c | |||
@@ -267,7 +267,7 @@ static int asd_init_dl(struct asd_ha_struct *asd_ha) | |||
267 | 267 | ||
268 | /* ---------- EDB and ESCB init ---------- */ | 268 | /* ---------- EDB and ESCB init ---------- */ |
269 | 269 | ||
270 | static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, unsigned int gfp_flags) | 270 | static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, gfp_t gfp_flags) |
271 | { | 271 | { |
272 | struct asd_seq_data *seq = &asd_ha->seq; | 272 | struct asd_seq_data *seq = &asd_ha->seq; |
273 | int i; | 273 | int i; |
@@ -298,7 +298,7 @@ Err_unroll: | |||
298 | } | 298 | } |
299 | 299 | ||
300 | static int asd_alloc_escbs(struct asd_ha_struct *asd_ha, | 300 | static int asd_alloc_escbs(struct asd_ha_struct *asd_ha, |
301 | unsigned int gfp_flags) | 301 | gfp_t gfp_flags) |
302 | { | 302 | { |
303 | struct asd_seq_data *seq = &asd_ha->seq; | 303 | struct asd_seq_data *seq = &asd_ha->seq; |
304 | struct asd_ascb *escb; | 304 | struct asd_ascb *escb; |
@@ -1028,7 +1028,7 @@ irqreturn_t asd_hw_isr(int irq, void *dev_id, struct pt_regs *regs) | |||
1028 | /* ---------- SCB handling ---------- */ | 1028 | /* ---------- SCB handling ---------- */ |
1029 | 1029 | ||
1030 | static inline struct asd_ascb *asd_ascb_alloc(struct asd_ha_struct *asd_ha, | 1030 | static inline struct asd_ascb *asd_ascb_alloc(struct asd_ha_struct *asd_ha, |
1031 | unsigned int gfp_flags) | 1031 | gfp_t gfp_flags) |
1032 | { | 1032 | { |
1033 | extern kmem_cache_t *asd_ascb_cache; | 1033 | extern kmem_cache_t *asd_ascb_cache; |
1034 | struct asd_seq_data *seq = &asd_ha->seq; | 1034 | struct asd_seq_data *seq = &asd_ha->seq; |
@@ -1086,7 +1086,7 @@ undo: | |||
1086 | */ | 1086 | */ |
1087 | struct asd_ascb *asd_ascb_alloc_list(struct asd_ha_struct | 1087 | struct asd_ascb *asd_ascb_alloc_list(struct asd_ha_struct |
1088 | *asd_ha, int *num, | 1088 | *asd_ha, int *num, |
1089 | unsigned int gfp_flags) | 1089 | gfp_t gfp_flags) |
1090 | { | 1090 | { |
1091 | struct asd_ascb *first = NULL; | 1091 | struct asd_ascb *first = NULL; |
1092 | 1092 | ||