Re: [PATCH] [v3] staging: rtl8723bs: Clean up dead code

2019-01-08 Thread Dan Carpenter
Your subject does work for `git am` but the more normal way to format it is: [PATCH v4] staging: rtl8723bs: Clean up dead code On Mon, Jan 07, 2019 at 05:20:52PM -0600, Aditya Pakki wrote: > rtw_wps_start() is part of dead code due to CONFIG_INTEL_WIDI. > The fix removes the deadcode and

[PATCH] [v3] staging: rtl8723bs: Clean up dead code

2019-01-07 Thread Aditya Pakki
rtw_wps_start() is part of dead code due to CONFIG_INTEL_WIDI. The fix removes the deadcode and replaces the function with NULL in rtw_private_handler. Identified as part of copy_from_user bug. Changes from v1 & 2: The return value of copy_from_user() is not checked appropriately. However,