Messages in this thread Patch in this message | | | Date | Tue, 15 Jan 2002 19:20:48 -0500 | From | Benjamin LaHaise <> | Subject | [PATCH] Re: 2.5.3-pre1 compile error |
| |
On Tue, Jan 15, 2002 at 07:05:10PM -0500, John Weber wrote: > incompatible pointer type > read_write.c: In function `sys_pwrite': > read_write.c:403: warning: passing arg 1 of `inode_dir_notify' from > incompatible pointer type
Hmm, this should fix that.
-ben
:r ~/patches/v2.5.3-pre1-file_fix.diff diff -urN v2.5.3-pre1/include/linux/file.h v2.5.3-pre1-fix/include/linux/file.h --- v2.5.3-pre1/include/linux/file.h Tue Jan 15 19:11:11 2002 +++ v2.5.3-pre1-fix/include/linux/file.h Tue Jan 15 19:20:06 2002 @@ -5,6 +5,9 @@ #ifndef __LINUX_FILE_H #define __LINUX_FILE_H +#ifndef __ASM__ATOMIC_H +#include <asm/atomic.h> +#endif #ifndef _LINUX_POSIX_TYPES_H /* __FD_CLR */ #include <linux/posix_types.h> #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |