aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTzung-Bi Shih <[email protected]>2020-11-16 16:44:12 +0800
committerBjorn Andersson <[email protected]>2020-11-20 21:45:42 -0600
commit48cb5b6829e2acb4b600153142889f879115e172 (patch)
tree469749b0b48f548f2dffa6c5b361be656e425d6d /net/switchdev/switchdev.c
parent71ffb5a22b49ad1c6266aad237cf8f1f5b13fe9a (diff)
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 <[email protected]> Signed-off-by: Tzung-Bi Shih <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions