|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 3/5] n16550: add sanity check for reg_shift
Quoting Jan Beulich <JBeulich@xxxxxxxx>: On 19.01.16 at 06:57, <czylin@xxxxxxxxxxxx> wrote:Fix CID 1343302 by adding checking a check on the value of reg_shift. This patch also rolls the multiplication by 8 into the shift. No functional changes. Suggested-by: Jan Beulich <JBeulich@xxxxxxxx>I don't think so.Signed-off-by: Chester Lin <czylin@xxxxxxxxxxxx> --- xen/drivers/char/ns16550.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c index bc24015..55cfc45 100644 --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c@@ -913,7 +913,8 @@ pci_uart_config(struct ns16550 *uart, bool_t skip_amt, unsigned int bar_idx) Sorry for the confusion regarding the suggested-by tag. Thank you for reviewing our patches. We agree that it would make more sense to suppress the error in Coverity. As such, we will not be sending this patch for further review. Regards, Chester Lin _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |