On Mon, Dec 30, 2019 at 06:54:02AM +1000, Jonathan Matthew wrote: > I'd prefer this: > > pagelen = min(hdr.page_length * 4, sizeof(vpg)); > > just to avoid trashing the stack if the page grows in newer firmware versions. Sure, I'll commit with min() and a small comment for that, thanks.
- Re: sparc64: find root device on hardware RAID Klemens Nanni
- Re: sparc64: find root device on hardware RAID Klemens Nanni
- Re: sparc64: find root device on hardware RAID Jonathan Matthew
- Re: sparc64: find root device on hardware RAID Klemens Nanni
- Re: sparc64: find root device on hardware RAID Jonathan Matthew
- Re: sparc64: find root device on hardware RAID Klemens Nanni
- Re: sparc64: find root device on hardware RAID Klemens Nanni
- Re: sparc64: find root device on hardware RAID Jonathan Matthew
- Re: sparc64: find root device on hardware RAID Klemens Nanni
- Re: sparc64: find root device on hardware RAID Jonathan Matthew
- Re: sparc64: find root device on hardware RAID Klemens Nanni