summaryrefslogtreecommitdiff
path: root/net/ipv4/tunnel4.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@google.com>2020-11-16 11:44:12 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-11-21 06:45:42 +0300
commit48cb5b6829e2acb4b600153142889f879115e172 (patch)
tree469749b0b48f548f2dffa6c5b361be656e425d6d /net/ipv4/tunnel4.c
parent71ffb5a22b49ad1c6266aad237cf8f1f5b13fe9a (diff)
downloadlinux-48cb5b6829e2acb4b600153142889f879115e172.tar.xz
remoteproc/mediatek: skip if filesz is 0
The main purpose of the loop is to load the memory to the SCP SRAM. If filesz is 0, can go to next program header directly. We don't need to try to validate the FW binary for those filesz==0 segments. Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> Link: https://lore.kernel.org/r/20201116084413.3312631-3-tzungbi@google.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'net/ipv4/tunnel4.c')
0 files changed, 0 insertions, 0 deletions