Alexey Khoroshilov dda094a312 i40e: Fix memory leak at failure path in i40e_dbg_command_write()
The patch fixes a leak of 'cmd_buf' when copy_from_user() failed
in i40e_dbg_command_write().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-02-26 04:53:56 -08:00
..
2015-02-15 11:11:47 -08:00
2015-02-16 17:56:04 -08:00
2015-02-17 09:27:54 -08:00
2015-02-17 09:38:59 -08:00
2015-02-17 09:27:54 -08:00
2015-02-15 10:48:44 -08:00
2015-02-15 11:30:39 -08:00
2015-02-12 09:16:56 -08:00
2015-02-04 12:10:41 +01:00
2015-02-03 15:48:51 -08:00
2015-02-17 17:34:21 -08:00
2015-02-03 15:58:39 -08:00
2015-02-18 09:05:48 -08:00
2015-02-15 10:48:44 -08:00
2015-02-18 08:01:44 -08:00
2015-02-04 09:15:18 +01:00
2015-02-17 09:38:59 -08:00
2015-02-17 09:38:59 -08:00
2015-02-15 10:24:55 -08:00
2015-02-18 08:40:29 +01:00
2015-02-18 09:05:48 -08:00
2015-02-17 09:17:33 -08:00
2015-02-17 09:38:59 -08:00
2015-02-15 10:24:55 -08:00
2015-02-11 10:28:45 -08:00
2015-02-03 15:58:39 -08:00