#define MAXPACK 50 #define MAXBUFFERMS 100 #define MAXSTRIDE 3 #define SSS (((MAXPACK*MAXBUFFERMS*MAXSTRIDE + 4096) / 4096) * 4096) struct snd_usX2Y_hwdep_pcm_shm { char playback[SSS]; char capture0x8[SSS]; char capture0xA[SSS]; volatile int playback_iso_head; int playback_iso_start; struct { int frame, offset, length; } captured_iso[128]; volatile int captured_iso_head; volatile unsigned captured_iso_frames; int capture_iso_start; }; int usX2Y_hwdep_pcm_new(struct snd_card *card); /git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/Documentation/thermal
diff options
context:
space:
mode:
authorXiaodong Liu <xiaodong.liu@intel.com>2016-04-12 09:45:51 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-15 22:13:56 +0800
commit0851561d9c965df086ef8a53f981f5f95a57c2c8 (patch)
tree8d17cbefa9079bd56fc7fb3866290f0bd19c223f /Documentation/thermal
parent6f0904ada402a45b3a0a3b9b6507d91d3a9da67a (diff)
crypto: sha1-mb - use corrcet pointer while completing jobs
In sha_complete_job, incorrect mcryptd_hash_request_ctx pointer is used when check and complete other jobs. If the memory of first completed req is freed, while still completing other jobs in the func, kernel will crash since NULL pointer is assigned to RIP. Cc: <stable@vger.kernel.org> Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com> Acked-by: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/thermal')