X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Foss%2Fpcm_plugin.h;h=e21c136480ea7212153927549bc236ce262d625f;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=342ec09640d2007073a9c738cf6edecd0ca549f5;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/sound/core/oss/pcm_plugin.h b/sound/core/oss/pcm_plugin.h index 342ec0964..e21c13648 100644 --- a/sound/core/oss/pcm_plugin.h +++ b/sound/core/oss/pcm_plugin.h @@ -35,7 +35,7 @@ static inline size_t bitset_size(int nbits) static inline bitset_t *bitset_alloc(int nbits) { - return snd_kcalloc(bitset_size(nbits) * sizeof(bitset_t), GFP_KERNEL); + return kcalloc(bitset_size(nbits), sizeof(bitset_t), GFP_KERNEL); } static inline void bitset_set(bitset_t *bitmap, unsigned int pos)