NetBSD Problem Report #46672

From www@NetBSD.org  Sun Jul  8 12:24:59 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 0C3F163B882
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  8 Jul 2012 12:24:59 +0000 (UTC)
Message-Id: <20120708122458.554A363B85F@www.NetBSD.org>
Date: Sun,  8 Jul 2012 12:24:58 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Remove semicolon after "if ()" in efa.c
X-Send-Pr-Version: www-1.0

>Number:         46672
>Category:       port-amiga
>Synopsis:       Remove semicolon after "if ()" in efa.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amiga-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 08 12:25:00 +0000 2012
>Closed-Date:    Sun Sep 02 03:48:57 +0000 2012
>Last-Modified:  Sun Sep 02 03:48:57 +0000 2012
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Remove semicolon after "if ()" in efa.c
>How-To-Repeat:

>Fix:
diff -u -p -r1.6 efa.c
--- sys/arch/amiga/dev/efa.c	2 Jul 2012 18:15:44 -0000	1.6
+++ sys/arch/amiga/dev/efa.c	8 Jul 2012 11:55:01 -0000
@@ -488,7 +488,7 @@ efa_setup_channel(struct ata_channel *ch
 		if (drvp->drive_type == DRIVET_NONE)
 			continue; /* nothing to see here */

-		if (drvp->PIO_cap < mode);
+		if (drvp->PIO_cap < mode)
 			mode = drvp->PIO_cap;

 		/* TODO: check if sc_ports->mode_ok */

>Release-Note:

>Audit-Trail:
From: "Radoslaw Kujawa" <rkujawa@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46672 CVS commit: src/sys/arch/amiga/dev
Date: Mon, 9 Jul 2012 19:34:56 +0000

 Module Name:	src
 Committed By:	rkujawa
 Date:		Mon Jul  9 19:34:56 UTC 2012

 Modified Files:
 	src/sys/arch/amiga/dev: efa.c

 Log Message:
 PR port-amiga/46672

 Removed surpluss semicolon after if().


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amiga/dev/efa.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: dholland@NetBSD.org
State-Changed-When: Sun, 02 Sep 2012 03:48:57 +0000
State-Changed-Why:
fixed, thanks


>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.