Date: Sat, 19 May 2018 03:47:29 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333826 - head/sys/powerpc/ofw Message-ID: <201805190347.w4J3lTG5011678@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Sat May 19 03:47:28 2018 New Revision: 333826 URL: https://svnweb.freebsd.org/changeset/base/333826 Log: Fix a manual copy from the original diff for r333825 The 'else' was in the original diff. Submitted by: Breno Leitao Modified: head/sys/powerpc/ofw/ofw_machdep.c Modified: head/sys/powerpc/ofw/ofw_machdep.c ============================================================================== --- head/sys/powerpc/ofw/ofw_machdep.c Sat May 19 03:45:38 2018 (r333825) +++ head/sys/powerpc/ofw/ofw_machdep.c Sat May 19 03:47:28 2018 (r333826) @@ -352,7 +352,7 @@ ofw_mem_regions(struct mem_region *memp, int *memsz, if (OF_getproplen(phandle, "linux,usable-memory") >= 0) res = parse_ofw_memory(phandle, "linux,usable-memory", &availp[asz]); - if (OF_getproplen(phandle, "available") >= 0) + else if (OF_getproplen(phandle, "available") >= 0) res = parse_ofw_memory(phandle, "available", &availp[asz]); else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805190347.w4J3lTG5011678>