Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2020 08:22:47 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r360774 - stable/11/sys/dev/vxge/vxgehal
Message-ID:  <202005070822.0478Ml1U018101@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Thu May  7 08:22:47 2020
New Revision: 360774
URL: https://svnweb.freebsd.org/changeset/base/360774

Log:
  Fix misleading indentation warning:
  
  sys/dev/vxge/vxgehal/vxgehal-virtualpath.c:5550:6: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                                          return (VXGE_HAL_ERR_EVENT_MRPCIM_CRITICAL);
                                          ^
  sys/dev/vxge/vxgehal/vxgehal-virtualpath.c:5545:5: note: previous statement is here
                                  if (!skip_alarms)
                                  ^
  
  Direct commit to stable/11, since vxge(4) has been removed from FreeBSD
  12 and later.

Modified:
  stable/11/sys/dev/vxge/vxgehal/vxgehal-virtualpath.c

Modified: stable/11/sys/dev/vxge/vxgehal/vxgehal-virtualpath.c
==============================================================================
--- stable/11/sys/dev/vxge/vxgehal/vxgehal-virtualpath.c	Thu May  7 08:11:36 2020	(r360773)
+++ stable/11/sys/dev/vxge/vxgehal/vxgehal-virtualpath.c	Thu May  7 08:22:47 2020	(r360774)
@@ -5547,7 +5547,7 @@ __hal_vpath_alarm_process(__hal_virtualpath_t *vpath, 
 					    hldev->header.regh0,
 					    VXGE_HAL_MRPCIM_TO_VPATH_ALARM_REG_ALARM,
 					    &vpath->vp_reg->mrpcim_to_vpath_alarm_reg);
-					return (VXGE_HAL_ERR_EVENT_MRPCIM_CRITICAL);
+				return (VXGE_HAL_ERR_EVENT_MRPCIM_CRITICAL);
 			}
 
 			if (!skip_alarms)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005070822.0478Ml1U018101>