NetBSD Problem Report #46371

From www@NetBSD.org  Wed Apr 25 07:58:52 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id E390363D3F2
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 25 Apr 2012 07:58:51 +0000 (UTC)
Message-Id: <20120425075851.5C97063CD2A@www.NetBSD.org>
Date: Wed, 25 Apr 2012 07:58:51 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Add missing parenthesis in pmap_tbl.c
X-Send-Pr-Version: www-1.0

>Number:         46371
>Category:       kern
>Synopsis:       Add missing parenthesis in pmap_tbl.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 08:00:17 +0000 2012
>Closed-Date:    Tue Jul 30 01:46:10 +0000 2013
>Last-Modified:  Tue Jul 30 01:46:10 +0000 2013
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Add missing parenthesis in pmap_tbl.c .
>How-To-Repeat:

>Fix:
diff -u -p -r1.11 pmap_tlb.c
--- sys/common/pmap/tlb/pmap_tlb.c	27 Sep 2011 01:02:37 -0000	1.11
+++ sys/common/pmap/tlb/pmap_tlb.c	22 Apr 2012 08:40:34 -0000
@@ -608,7 +608,7 @@ pmap_tlb_shootdown_bystanders(pmap_t pm)
 			ipi_sent = true;
 			continue;
 		}
-		if (!CPUSET_EMPTY_P(CPUSET_SUBSET(pm->pm_active, ti->ti_cpu_mask) {
+		if (!CPUSET_EMPTY_P(CPUSET_SUBSET(pm->pm_active, ti->ti_cpu_mask))) {
 			/*
 			 * If this pmap has an ASID assigned but it's not
 			 * currently running, nuke its ASID.  Next time the

>Release-Note:

>Audit-Trail:
From: "Julian Coleman" <jdc@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46371 CVS commit: [netbsd-6] src/sys/common/pmap/tlb
Date: Mon, 29 Jul 2013 20:26:32 +0000

 Module Name:	src
 Committed By:	jdc
 Date:		Mon Jul 29 20:26:32 UTC 2013

 Modified Files:
 	src/sys/common/pmap/tlb [netbsd-6]: pmap_tlb.c

 Log Message:
 Add missing "))". This patch fixes PR#46371.
   src/sys/common/pmap/tlb/pmap_tlb.c patch
 (requested by msaitoh in ticket 920)


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.11.8.1 src/sys/common/pmap/tlb/pmap_tlb.c

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

State-Changed-From-To: open->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Tue, 30 Jul 2013 01:46:10 +0000
State-Changed-Why:
Patch was applied to netbsd-6 branch. For -current, this problem was fixed in
sys/uvm/pmap/pmap_tlb.c rev. 1.3.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.