From 77a32d766baae09ee411b87f07adbbd3ded5fa72 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 11 Oct 2002 06:03:05 -0700 Subject: [PATCH] various fixes - Fix some printk warnings in 3c59x.c (inl() now returns a long). - ext3 warning fix from Stephen Hemminger: "__FUNCTION__ is a constant and gcc warns about passing it as a mutuable string." - Fix a return-with-BKL-held in isofs_readdir() - paride 64-bit sector_t fix (Bill Irwin) --- include/linux/jbd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/jbd.h') diff --git a/include/linux/jbd.h b/include/linux/jbd.h index fafb868eec11..5b1657fca68a 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h @@ -54,7 +54,7 @@ extern int journal_enable_debug; #define jbd_debug(f, a...) /**/ #endif -extern void * __jbd_kmalloc (char *where, size_t size, int flags, int retry); +extern void * __jbd_kmalloc (const char *where, size_t size, int flags, int retry); #define jbd_kmalloc(size, flags) \ __jbd_kmalloc(__FUNCTION__, (size), (flags), journal_oom_retry) #define jbd_rep_kmalloc(size, flags) \ -- cgit v1.2.3