062d0f22a3
In write to debugfs file 'resource_stats' the local buffer 'tmp_str' is written at index 'count-1' where 'count' is the size of the write, so potentially 0. This patch filters odd values for the write size/position to avoid this type of problem. Signed-off-by: Michael Mera <dev@michaelmera.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ocrdma.h | ||
ocrdma_ah.c | ||
ocrdma_ah.h | ||
ocrdma_hw.c | ||
ocrdma_hw.h | ||
ocrdma_main.c | ||
ocrdma_sli.h | ||
ocrdma_stats.c | ||
ocrdma_stats.h | ||
ocrdma_verbs.c | ||
ocrdma_verbs.h |