>>>>> "jaroslav" == Jaroslav Kysela <[EMAIL PROTECTED]> writes:
jaroslav> On 8 Nov 2001, Juan Quintela wrote: >> >> >> Hi >> >> This patch changes: >> >> #include <malloc.h> >> >> by >> >> #include <slab.h> >> >> includding malloc.h produces warnings in 2.4. Notice that 2.2 also >> has slab.h with the same meaning/functionality that 2.4 (In both >> malloc.h is just a #include<slab.h> >> >> If you have any questions/comments, please told me. jaroslav> It is really true for all kernels 2.2.3+ ? I need to verify it before jaroslav> apply. Downloading 2.2.3 quintela$ cat include/linux/malloc.h #ifndef _LINUX_MALLOC_H #define _LINUX_MALLOC_H #include <linux/slab.h> #endif /* _LINUX_MALLOC_H */ quintela$ ls -l include/linux/slab.h -rw-r--r-- 1 quintela quintela 2285 Mar 9 1999 include/linux/slab.h ok, things are as expected, recompiling alsa to test make dep works prefect make dep compiles well, only warning are: {standard input}:9: Warning: ignoring changed section attributes for .modinfo but that are warnings that weren corrected until later versions of kernel, i.e. no way in fixing them. There is also another couple of warning that refer to unused variables (lock that are not used now), but it doesn't make sense to fix that. Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel