]> www.infradead.org Git - users/dwmw2/linux.git/commit
ibmvnic: rename local variable index to bufidx
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>
Wed, 13 Apr 2022 17:10:21 +0000 (13:10 -0400)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Apr 2022 21:02:03 +0000 (14:02 -0700)
commit8880fc669deda4fafde3ce90b3128f079567447f
treea5f7295f1da943f0cef819266a5f70887eabfca0
parent7b05c54226015807993a7d1bab0ba59d00e592ad
ibmvnic: rename local variable index to bufidx

The local variable 'index' is heavily used in some functions and is
confusing with the presence of other "index" fields like pool->index,
->consumer_index, etc. Rename it to bufidx to better reflect that its
the index of a buffer in the pool.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ibm/ibmvnic.c