Nuke OSSV4_EXPERIMENT ifdefs from kludgy MIXER_SIZE definition
since the exclusion of sizeof(oss_mixer_enuminfo) is the real cause of overflow (worth of +3000 bytes). Noticed by: tegge
This commit is contained in:
parent
8ddbd40588
commit
7567f38c8f
@ -52,11 +52,7 @@ extern int mixer_count;
|
||||
* this is a kludge to allow hiding of the struct snd_mixer definition
|
||||
* 512 should be enough for all architectures
|
||||
*/
|
||||
#ifdef OSSV4_EXPERIMENT
|
||||
# define MIXER_SIZE (512 + sizeof(struct kobj) + \
|
||||
sizeof(oss_mixer_enuminfo))
|
||||
#else
|
||||
# define MIXER_SIZE (512 + sizeof(struct kobj))
|
||||
#endif
|
||||
|
||||
#define MIXER_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, MIXER_SIZE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user