]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: ipa: fix canary count for SC7180 UC_INFO region
authorAlex Elder <elder@linaro.org>
Fri, 19 Mar 2021 15:24:19 +0000 (10:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2021 20:35:54 +0000 (13:35 -0700)
There should be no canary values written before the beginning of the
UC_INFO memory region.  This was correct for SDM845, but somehow was
committed with the wrong value for SC7180.

This bug seems to cause no harm, so we'll just correct it without
back-porting.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_data-sc7180.c

index 01681be402262a25c33937b3a0a1350d029a91e7..434869508a215ceec31c68f1a73007b43819a4b7 100644 (file)
@@ -206,7 +206,7 @@ static const struct ipa_mem ipa_mem_local_data[] = {
        [IPA_MEM_UC_INFO] = {
                .offset         = 0x0080,
                .size           = 0x0200,
-               .canary_count   = 2,
+               .canary_count   = 0,
        },
        [IPA_MEM_V4_FILTER_HASHED] = {
                .offset         = 0x0288,