summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorMark Einon <mark.einon@gmail.com>2012-11-01 22:56:43 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-02 11:30:19 -0700
commitf0ada6784f680d844d890f5c240d19c8649594e5 (patch)
tree21280e59fd3085e2b7a48a37d31243b017ec4eef /drivers/pci
parent4ab07c96d2f1a98ef8561bad61c92ffc2652cbda (diff)
staging: et131x: Align ring_index and fbr[] indicies
A ring_index value of 0 is being used to reference the free buffer ring fbr[1] and ring_index=1 is used to reference fbr[0]. Avoid this confusing referencing by swapping the indicies so that ring_index=0 refers to fbr[0] and vice versa. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions