[RESEND] ath10k: fix out of bounds access to local buffer

Michael Mera dev at michaelmera.com
Wed Apr 26 03:32:51 PDT 2017


Kalle Valo <kvalo at qca.qualcomm.com> writes:
> I fixed a checkpatch warning in the pending branch:
>
> drivers/net/wireless/ath/ath10k/debug.c:636: spaces preferred around that '-' (ctx:VxV)

Hum... but then you will have a line longer than 80 characters (81), so
another warning.
I prefered this version since I feel that splitting this line would hurt
readability and on the other hand the expression is clearly delimited
by the spaces around the ',' so I don't think spaces around the operator
add any value (except for compliance with the coding style that is).

Thanks,
Michael Mera



More information about the ath10k mailing list