NetBSD Problem Report #53537

From www@NetBSD.org  Sat Aug 18 14:00:34 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 379457A1EE
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 18 Aug 2018 14:00:34 +0000 (UTC)
Message-Id: <20180818140033.480EA7A26F@mollari.NetBSD.org>
Date: Sat, 18 Aug 2018 14:00:33 +0000 (UTC)
From: netbsd@eq.cz
Reply-To: netbsd@eq.cz
To: gnats-bugs@NetBSD.org
Subject: typo in src/sys/arch/arm/sunxi/sunxi_thermal.c
X-Send-Pr-Version: www-1.0

>Number:         53537
>Notify-List:    jmcneill@NetBSD.org
>Category:       port-arm
>Synopsis:       typo in src/sys/arch/arm/sunxi/sunxi_thermal.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 18 14:05:00 +0000 2018
>Closed-Date:    Tue Aug 21 14:10:45 +0000 2018
>Last-Modified:  Tue Aug 21 14:20: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;

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-arm-maintainer->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 21 Aug 2018 14:10:45 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 21 Aug 2018 14:10:45 +0000
State-Changed-Why:
Fix applied, thank you!


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53537 CVS commit: src/sys/arch/arm/sunxi
Date: Tue, 21 Aug 2018 14:09:41 +0000

 Module Name:	src
 Committed By:	bsiegert
 Date:		Tue Aug 21 14:09:41 UTC 2018

 Modified Files:
 	src/sys/arch/arm/sunxi: sunxi_thermal.c

 Log Message:
 Fix two typos in the Sunxi thermal driver.

 Noticed by rudolf in PR port-arm/53537.

 ok jmcneill@


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/sunxi/sunxi_thermal.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.