All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Do not DMA on the stack
@ 2015-10-04 20:13 Ksenija Stanojevic
  2015-10-04 20:14 ` [PATCH 1/4] Staging: rtl8192u: Do not DMA on the stack in write_nic_byte_E() Ksenija Stanojevic
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Ksenija Stanojevic @ 2015-10-04 20:13 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Ksenija Stanojevic

Fix error "doing DMA on the stack" by using kzalloc for buffer
allocation in rtl8192u/r8192U_core.c in the following functions:
	write_nic_byte_E()
	write_nic_byte()
	write_nic_word()
	write_nic_dword()
Issue found by smatch.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>

Ksenija Stanojevic (4):
  Staging: rtl8192u: Do not DMA on the stack in write_nic_byte_E()
  Staging: rtl8192u: Do not DMA on the stack in write_nic_byte()
  Staging: rtl8192u: Do not DMA on the stack in write_nic_word()
  Staging: rtl8192u: Do not DMA on the stack in write_nic_dword()

 drivers/staging/rtl8192u/r8192U_core.c | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

-- 
1.9.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-10-05  8:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-04 20:13 [PATCH 0/4] Do not DMA on the stack Ksenija Stanojevic
2015-10-04 20:14 ` [PATCH 1/4] Staging: rtl8192u: Do not DMA on the stack in write_nic_byte_E() Ksenija Stanojevic
2015-10-05  3:17   ` [Outreachy kernel] " Greg KH
2015-10-05  3:27     ` Ksenija Stanojević
2015-10-04 20:14 ` [PATCH 2/4] Staging: rtl8192u: Do not DMA on the stack in write_nic_byte() Ksenija Stanojevic
2015-10-04 20:14 ` [PATCH 3/4] Staging: rtl8192u: Do not DMA on the stack in write_nic_word() Ksenija Stanojevic
2015-10-04 20:15 ` [PATCH 4/4] Staging: rtl8192u: Do not DMA on the stack in write_nic_dword() Ksenija Stanojevic
2015-10-05  3:27   ` Ksenija Stanojević
2015-10-04 20:39 ` [Outreachy kernel] [PATCH 0/4] Do not DMA on the stack Arnd Bergmann
2015-10-05  5:28   ` Ksenija Stanojević
2015-10-05  6:40     ` Ksenija Stanojević
2015-10-05  6:44       ` Ksenija Stanojević
2015-10-05  6:50         ` Ksenija Stanojević
2015-10-05  8:11           ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.