NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/53537: typo in src/sys/arch/arm/sunxi/sunxi_thermal.c



>Number:         53537
>Category:       port-arm
>Synopsis:       typo in src/sys/arch/arm/sunxi/sunxi_thermal.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 18 14:05:00 +0000 2018
>Originator:     rudolf
>Release:        HEAD
>Organization:
>Environment:
>Description:
There are two obvious typos in src/sys/arch/arm/sunxi/sunxi_thermal.c on lines 262, 278. H5_TEMP_MUL_H_1 is used instead of H5_TEMP_MUL_H_0 in "sensor == 0" case.
>How-To-Repeat:
look at lines 262, 278 in src/sys/arch/arm/sunxi/sunxi_thermal.c
>Fix:
mul = sensor == 0 ? H5_TEMP_MUL_H_0 : H5_TEMP_MUL_H_1;



Home | Main Index | Thread Index | Old Index