Revision fc3501d411d34823fb9be248a95a0c44f945866f authored by Sven Wegener on 11 February 2009, 21:04:23 UTC, committed by Linus Torvalds on 11 February 2009, 22:25:35 UTC
We need to pass an unsigned long as the minimum, because it gets casted to an unsigned long in the sysctl handler. If we pass an int, we'll access four more bytes on 64bit arches, resulting in a random minimum value. [rientjes@google.com: fix type of `old_bytes'] Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Dave Chinner <david@fromorbit.com> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: David Rientjes <rientjes@google.com> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 35887b1
sb_ess.h
/*
* Created: 9-Jan-1999 Rolf Fokkens
*/
extern void ess_intr
(sb_devc *devc);
extern int ess_dsp_init
(sb_devc *devc, struct address_info *hw_config);
extern struct audio_driver *ess_audio_init
(sb_devc *devc, int *audio_flags, int *format_mask);
extern int ess_midi_init
(sb_devc *devc, struct address_info *hw_config);
extern void ess_mixer_init
(sb_devc *devc);
extern int ess_init
(sb_devc *devc, struct address_info *hw_config);
extern int ess_dsp_reset
(sb_devc *devc);
extern void ess_setmixer
(sb_devc *devc, unsigned int port, unsigned int value);
extern unsigned int ess_getmixer
(sb_devc *devc, unsigned int port);
extern int ess_mixer_set
(sb_devc *devc, int dev, int left, int right);
extern int ess_mixer_reset
(sb_devc *devc);
extern void ess_mixer_reload
(sb_devc * devc, int dev);
extern int ess_set_recmask
(sb_devc *devc, int *mask);
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...