diff options
author | Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com> | 2015-01-23 14:41:41 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-27 09:03:07 +0100 |
commit | 0d8ef327bbb5e3d6e19f9753e663163145e9d1b1 (patch) | |
tree | 9528680bca3f9df9bd97ee467b2d0abe9265e370 /fs/omap4_usbbootfs.c | |
parent | 866516511e274b9776f59c5b59ce46c20dfc10af (diff) | |
download | barebox-0d8ef327bbb5e3d6e19f9753e663163145e9d1b1.tar.gz barebox-0d8ef327bbb5e3d6e19f9753e663163145e9d1b1.tar.xz |
memtest: fix 4GB overflow fail
Add condition for checking size_t overflow. This fixes memtest fail
> Memtest failed. Error: -22
which appears when 4GB RAM is present.
Was tested on phyFLEX-i.MX6 modules with 4GB and 1GB RAM.
Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/omap4_usbbootfs.c')
0 files changed, 0 insertions, 0 deletions