Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2020 18:17:04 +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: r358079 - in stable: 11/sys/dev/hptmv 12/sys/dev/hptmv
Message-ID:  <202002181817.01IIH4Em060673@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Feb 18 18:17:03 2020
New Revision: 358079
URL: https://svnweb.freebsd.org/changeset/base/358079

Log:
  MFC r357976:
  
  Merge r357970 from the clang1000-import branch:
  
  Fix the following -Werror warning from clang 10.0.0 in hptmv(4):
  
  sys/dev/hptmv/ioctl.c:240:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                          _vbus_p=pArray->pVBus;
                          ^
  sys/dev/hptmv/ioctl.c:237:10: note: previous statement is here
                  if(!mIsArray(pArray))
                  ^
  
  This is because the return statement after the if statement was not
  indented.  (Note that this file has been idented assuming 4-space tabs.)

Modified:
  stable/11/sys/dev/hptmv/ioctl.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/sys/dev/hptmv/ioctl.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/sys/dev/hptmv/ioctl.c
==============================================================================
--- stable/11/sys/dev/hptmv/ioctl.c	Tue Feb 18 18:15:33 2020	(r358078)
+++ stable/11/sys/dev/hptmv/ioctl.c	Tue Feb 18 18:17:03 2020	(r358079)
@@ -233,7 +233,7 @@ int Kernel_DeviceIoControl(_VBUS_ARG
 		       	return -1;
 		
         	if(!mIsArray(pArray))
-			return -1;
+				return -1;
 
 			_vbus_p=pArray->pVBus;
 			pAdapter = (IAL_ADAPTER_T *)_vbus_p->OsExt;



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