diff options
author | Haiyue Wang <haiyue.wang@intel.com> | 2022-08-30 14:33:02 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2022-08-30 18:13:18 +0000 |
commit | 4cbc8b20c78cbc2b8037f97078106e5e1a31a637 (patch) | |
tree | b2cd3960a9223f328aebdf14ec4e16ce939e6514 /src/vppinfra/fifo.c | |
parent | fcb2132d74627178a5a83fabd0addf741654fe63 (diff) |
dma_intel: fix the wrong unformat type
The unformat type for "%d" should be u32 or int, otherwise the 'did' in
high stack address will be overflow to zero by the 'qid' which is in the
low stack address.
Like input "dev wq3.2" will return "did=0, qid=2".
Type: fix
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Change-Id: I0fe1d5b03e2c47e0a7925193e2c2f1ccc31d3e90
Diffstat (limited to 'src/vppinfra/fifo.c')
0 files changed, 0 insertions, 0 deletions