commit | 2c07e445745c3a3790bac08569274394af9e6383 | [log] [tgz] |
---|---|---|
author | Pratik Gandhi <prgandhi@codeaurora.org> | Wed May 03 20:15:50 2017 +0530 |
committer | snandini <snandini@codeaurora.org> | Thu May 18 12:00:21 2017 -0700 |
tree | 13f90d08537d3164d70882c8c8f13f6f3777fec0 | |
parent | b463d9a735f75709f0e7be44d17d0b339b49233f [diff] |
qcacmn: Fix for read and write operations in wmi_recording With linux4.4 definition of seq_printf is changed. New definition updated in driver applies va_start twice which causes incorrect output hence definition is updated to make sure va_start is applied only once. For write operations using copy_from_user to avoid crash due to accessing user space area. CRs-Fixed: 2042210 IRs-Fixed: 201729 Change-Id: I4043ab027411d42e15adaf53e6e92ae57aa987c7