svn commit: r357976 - head/sys/dev/hptmv

Dimitry Andric dim at FreeBSD.org
Sat Feb 15 19:15:25 UTC 2020


Author: dim
Date: Sat Feb 15 19:15:24 2020
New Revision: 357976
URL: https://svnweb.freebsd.org/changeset/base/357976

Log:
  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.)
  
  MFC after:	3 days

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

Modified: head/sys/dev/hptmv/ioctl.c
==============================================================================
--- head/sys/dev/hptmv/ioctl.c	Sat Feb 15 19:13:37 2020	(r357975)
+++ head/sys/dev/hptmv/ioctl.c	Sat Feb 15 19:15:24 2020	(r357976)
@@ -235,7 +235,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;


More information about the svn-src-all mailing list