diff options
author | Mark Einon <mark.einon@gmail.com> | 2012-11-01 22:56:43 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-02 11:30:19 -0700 |
commit | f0ada6784f680d844d890f5c240d19c8649594e5 (patch) | |
tree | 21280e59fd3085e2b7a48a37d31243b017ec4eef /drivers/ata/pata_sch.c | |
parent | 4ab07c96d2f1a98ef8561bad61c92ffc2652cbda (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/ata/pata_sch.c')
0 files changed, 0 insertions, 0 deletions