mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 0 additions and 4 deletions
|
|
@ -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…
Reference in a new issue