summaryrefslogtreecommitdiff
path: root/sound/usb/format.h
blob: 4b8a01129f240361a946f3993be4184077d120e9 (plain)
1
2
3
4
5
6
7
8
9
#ifndef __USBAUDIO_FORMAT_H
#define __USBAUDIO_FORMAT_H

int snd_usb_parse_audio_format(struct snd_usb_audio *chip,
			       struct audioformat *fp, unsigned int format,
			       struct uac_format_type_i_continuous_descriptor *fmt,
			       int stream);

#endif /*  __USBAUDIO_FORMAT_H */
2016-12-14 01:44:16 -0600 commit06deeec77a5a689cc94b21a8a91a76e42176685d (patch) tree372862541646467a01b521e5e4328143036268ed /sound/aoa parent96a988ffeb90dba33a71c3826086fe67c897a183 (diff)
cifs: Fix smbencrypt() to stop pointing a scatterlist at the stack
smbencrypt() points a scatterlist to the stack, which is breaks if CONFIG_VMAP_STACK=y. Fix it by switching to crypto_cipher_encrypt_one(). The new code should be considerably faster as an added benefit. This code is nearly identical to some code that Eric Biggers suggested. Cc: stable@vger.kernel.org # 4.9 only Reported-by: Eric Biggers <ebiggers3@gmail.com> Signed-off-by: Andy Lutomirski <luto@kernel.org> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'sound/aoa')