diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2024-01-28 23:10:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-01-31 16:38:51 +0300 |
commit | f486c4b57649ed58a2baef66691ce4ac6fcf0fb1 (patch) | |
tree | 2bd58dd7f46413c9ab5a0e5a3b0a64b98c29cf01 /drivers/net | |
parent | 8f3655d8a515bdef18eeccf4245e3e3c458d7fd3 (diff) | |
download | linux-f486c4b57649ed58a2baef66691ce4ac6fcf0fb1.tar.xz |
qca_spi: Adjust log of SPI_REG_RDBUF_BYTE_AVA
All known SPI registers of the QCA700x are 16 bit long. So adjust
the formater width accordingly.
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/qualcomm/qca_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qualcomm/qca_spi.c b/drivers/net/ethernet/qualcomm/qca_spi.c index d2d68c20b32c..ca8c0596a992 100644 --- a/drivers/net/ethernet/qualcomm/qca_spi.c +++ b/drivers/net/ethernet/qualcomm/qca_spi.c @@ -359,7 +359,7 @@ qcaspi_receive(struct qcaspi *qca) /* Read the packet size. */ qcaspi_read_register(qca, SPI_REG_RDBUF_BYTE_AVA, &available); - netdev_dbg(net_dev, "qcaspi_receive: SPI_REG_RDBUF_BYTE_AVA: Value: %08x\n", + netdev_dbg(net_dev, "qcaspi_receive: SPI_REG_RDBUF_BYTE_AVA: Value: %04x\n", available); if (available > QCASPI_HW_BUF_LEN + QCASPI_HW_PKT_LEN) { |