commit | 9375646b4cf03aee81bc6c305aa18cc80b682796 | [log] [tgz] |
---|---|---|
author | Logan Gunthorpe <logang@deltatee.com> | Mon Jan 06 12:03:27 2020 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Jan 08 15:42:57 2020 -0600 |
tree | f980c923f2014e57090076568fb12fed8a459c44 | |
parent | aa82130a22f77c1aa5794703730304d035a0c1f4 [diff] |
PCI/switchtec: Fix vep_vector_number ioread width vep_vector_number is actually a 16 bit register which should be read with ioread16() instead of ioread32(). Fixes: 080b47def5e5 ("MicroSemi Switchtec management interface driver") Link: https://lore.kernel.org/r/20200106190337.2428-3-logang@deltatee.com Reported-by: Doug Meyer <dmeyer@gigaio.com> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>