FreeBSD Bugzilla – Attachment 180769 Details for
Bug 217746
sys/dev/cxgbe/t4_main.c: PVS-Studio: Expression is Always True (CWE-571) (3)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
t4_main.c.patch (text/plain), 768 bytes, created by
Svyatoslav
on 2017-03-13 12:03:40 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
Svyatoslav
Created:
2017-03-13 12:03:40 UTC
Size:
768 bytes
patch
obsolete
>diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c >index 0383c7e..7fa4dfb 100644 >--- a/sys/dev/cxgbe/t4_main.c >+++ b/sys/dev/cxgbe/t4_main.c >@@ -7999,9 +7999,9 @@ sysctl_tp_timer(SYSCTL_HANDLER_ARGS) > u_int cclk_ps = 1000000000 / sc->params.vpd.cclk; > > MPASS(reg == A_TP_RXT_MIN || reg == A_TP_RXT_MAX || >- reg == A_TP_PERS_MIN || reg == A_TP_PERS_MAX || >- reg == A_TP_KEEP_IDLE || A_TP_KEEP_INTVL || reg == A_TP_INIT_SRTT || >- reg == A_TP_FINWAIT2_TIMER); >+ reg == A_TP_PERS_MIN || reg == A_TP_PERS_MAX || >+ reg == A_TP_KEEP_IDLE || reg == A_TP_KEEP_INTVL || >+ reg == A_TP_INIT_SRTT || reg == A_TP_FINWAIT2_TIMER); > > tre = G_TIMERRESOLUTION(t4_read_reg(sc, A_TP_TIMER_RESOLUTION)); > tp_tick_us = (cclk_ps << tre) / 1000000;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217746
: 180769