Kirtika Ruchandani <kirtika.ruchandani@xxxxxxxxx> wrote: > Commit 32653cf19554 removed the call to 'skb_trim(skb, buf_len)' > in ath10k_wmi_event_mgmt_rx(), leaving the buf_len variable set but > unused. Compiling with W=1 gives the following warning, fix it. > drivers/net/wireless/ath/ath10k/wmi.c: In function ‘ath10k_wmi_event_mgmt_rx’: > drivers/net/wireless/ath/ath10k/wmi.c:2280:6: warning: variable ‘buf_len’ set but not used [-Wunused-but-set-variable] > > This is a harmless warning, and is only being fixed to reduce the > noise with W=1 in the kernel. > > Fixes: 32653cf19554 ("ath10k: implement intermediate event args") > Cc: Michal Kazior <michal.kazior@xxxxxxxxx> > Cc: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> > Signed-off-by: Kirtika Ruchandani <kirtika@xxxxxxxxxxxx> These patches seem to be corrupted: Applying: ath10k: Remove unused 'buf_len' variable fatal: corrupt patch at line 13 error: could not build fake ancestor Patch failed at 0001 ath10k: Remove unused 'buf_len' variable When resending please also cc ath10k list: https://wireless.wiki.kernel.org/en/users/drivers/ath10k/sources#submitting_patches 4 patches set to Changes Requested. 9444973 [1/5] ath10k: Remove unused 'buf_len' variable 9444935 [2/5] ath10k: Remove unused 'num_vdev_stats' variable 9444971 [4/5] ath10k: Removed unused 'dev' in ath10k_ahb_clock_enable() 9444975 [5/5] ath10k: Removed unused 'dev' in ath10k_ahb_resource_init -- https://patchwork.kernel.org/patch/9444973/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches