Re: booke206_tlb_ways() returning 0

2020-03-26 Thread Laurent Vivier
Le 26/03/2020 à 15:22, Peter Maydell a écrit : > Hi; Coverity points out a possible issue in booke206_get_tlbm() > (this is CID 1421942): > > > static inline ppcmas_tlb_t *booke206_get_tlbm(CPUPPCState *env, const int > tlbn, > target_ulong ea, int

booke206_tlb_ways() returning 0

2020-03-26 Thread Peter Maydell
Hi; Coverity points out a possible issue in booke206_get_tlbm() (this is CID 1421942): static inline ppcmas_tlb_t *booke206_get_tlbm(CPUPPCState *env, const int tlbn, target_ulong ea, int way) { int r; uint32_t ways = booke206_tlb_ways(env,