summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/f71805f.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-10-11 22:08:21 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-11 12:50:57 +0200
commit171693292ec733ecb96734370ddfe0d9f73e920f (patch)
tree2c1a8d486c48103caadf02fd9b497069490d15df /drivers/hwmon/f71805f.c
parent17380859a8fae40f7420d8fcc4be7a041a370659 (diff)
ath6kl: Fix endpoint_stats debugfs buffer length calculation
The previous version did not really make much sense and the theoretical maximum length would be a bit longer. Calculate the length more accurately. In addition, there is no need to clear the buffer, so use kmalloc instead of kzalloc. For bonus points, add the forgotten cred_rpt_from_other value to the file. Reported-by: Joe Perches <joe@perches.com> Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/hwmon/f71805f.c')
0 files changed, 0 insertions, 0 deletions