31c31
< __FBSDID("$FreeBSD: head/sys/dev/bhnd/siba/siba_subr.c 300548 2016-05-24 01:12:19Z adrian $");
---
> __FBSDID("$FreeBSD: head/sys/dev/bhnd/siba/siba_subr.c 301410 2016-06-04 19:53:47Z landonf $");
247c247
<
---
>
249c249
< if (UINT32_MAX - size < base)
---
> if (size > 0 && UINT32_MAX - (size - 1) < base)
279c279
< base, base + r_size - 1, r_size);
---
> base, base + (r_size - 1), r_size);
< __FBSDID("$FreeBSD: head/sys/dev/bhnd/siba/siba_subr.c 300548 2016-05-24 01:12:19Z adrian $");
---
> __FBSDID("$FreeBSD: head/sys/dev/bhnd/siba/siba_subr.c 301410 2016-06-04 19:53:47Z landonf $");
247c247
<
---
>
249c249
< if (UINT32_MAX - size < base)
---
> if (size > 0 && UINT32_MAX - (size - 1) < base)
279c279
< base, base + r_size - 1, r_size);
---
> base, base + (r_size - 1), r_size);