FreeBSD Bugzilla – Attachment 180815 Details for
Bug 217782
sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c: PVS-Studio: Assignment to Variable without Use (CWE-563) (3)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
bhnd_pmu_subr.c.patch (text/plain), 694 bytes, created by
Svyatoslav
on 2017-03-14 13:22:32 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
Svyatoslav
Created:
2017-03-14 13:22:32 UTC
Size:
694 bytes
patch
obsolete
>diff --git a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c >index 7744da6..617dffd 100644 >--- a/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c >+++ b/sys/dev/bhnd/cores/pmu/bhnd_pmu_subr.c >@@ -2023,7 +2023,7 @@ bhnd_pmu1_pllinit0(struct bhnd_pmu_softc *sc, uint32_t xtal) > > /* Write XtalFreq. Set the divisor also. */ > pmuctrl = BHND_PMU_READ_4(sc, BHND_PMU_CTRL); >- pmuctrl = ~(BHND_PMU_CTRL_ILP_DIV_MASK | BHND_PMU_CTRL_XTALFREQ_MASK); >+ pmuctrl |= ~(BHND_PMU_CTRL_ILP_DIV_MASK | BHND_PMU_CTRL_XTALFREQ_MASK); > pmuctrl |= BHND_PMU_SET_BITS(((xt->fref + 127) / 128) - 1, > BHND_PMU_CTRL_ILP_DIV); > pmuctrl |= BHND_PMU_SET_BITS(xt->xf, BHND_PMU_CTRL_XTALFREQ);
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 217782
: 180815