Re: Re: [PATCH] powerpc/pseries/pci: Fix misleading VF limit error message

Jiangshan Yi <[email protected]>
Newsgroups org.ozlabs.lists.linuxppc-dev,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
> What about the following instead, to avoid the double 'if' ?

Hi Christophe,

Thanks for the review.  I've reworked the patch as you suggested in v2: the
two checks are now in separate blocks, each reporting its own limit
before returning -EINVAL.  The PE mapping limit message now appears
only when that cap is the binding constraint.

Best regards,
Jiangshan Yi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.