aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/image/Makefile
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-06-26 19:22:52 +0200
committerMathias Kresin <dev@kresin.me>2017-06-26 20:11:16 +0200
commit6c03b293bb2ba86f22ea6e20dd0266892932f585 (patch)
tree76a9346cc21fcaa961f3a6d3fc4e10ccccf63cd9 /target/linux/bcm53xx/image/Makefile
parent73a4568f19381ee762816d66b69c0f0b7d1c1c98 (diff)
downloadupstream-6c03b293bb2ba86f22ea6e20dd0266892932f585.tar.gz
upstream-6c03b293bb2ba86f22ea6e20dd0266892932f585.tar.bz2
upstream-6c03b293bb2ba86f22ea6e20dd0266892932f585.zip
firmware-utils: fix dgn3500sum compiler warnings
The sum variable need to be initialised, otherwise it will points to random stack memory and a bogus image checksum might be calculated. While at it, fix the segfault in case the product region code isn't specified and enable compiler warnings which had revealed all the code issues. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/bcm53xx/image/Makefile')
0 files changed, 0 insertions, 0 deletions