Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2016 18:02:12 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r310842 - stable/10/sys/dev/sfxge/common
Message-ID:  <201612301802.uBUI2CaQ018353@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Fri Dec 30 18:02:12 2016
New Revision: 310842
URL: https://svnweb.freebsd.org/changeset/base/310842

Log:
  MFC r310681
  
  sfxge(4): cleanup: remove unnecessary spaces
  
  Found by DPDK checkpatch.sh
  
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/common/efx_impl.h
  stable/10/sys/dev/sfxge/common/efx_lic.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/efx_impl.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_impl.h	Fri Dec 30 18:01:04 2016	(r310841)
+++ stable/10/sys/dev/sfxge/common/efx_impl.h	Fri Dec 30 18:02:12 2016	(r310842)
@@ -564,7 +564,7 @@ typedef struct efx_lic_ops_s {
 	efx_rc_t	(*elo_find_start)
 				(efx_nic_t *, caddr_t, size_t, uint32_t *);
 	efx_rc_t	(*elo_find_end)(efx_nic_t *, caddr_t, size_t,
-				uint32_t , uint32_t *);
+				uint32_t, uint32_t *);
 	boolean_t	(*elo_find_key)(efx_nic_t *, caddr_t, size_t,
 				uint32_t, uint32_t *, uint32_t *);
 	boolean_t	(*elo_validate_key)(efx_nic_t *,

Modified: stable/10/sys/dev/sfxge/common/efx_lic.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_lic.c	Fri Dec 30 18:01:04 2016	(r310841)
+++ stable/10/sys/dev/sfxge/common/efx_lic.c	Fri Dec 30 18:02:12 2016	(r310842)
@@ -627,7 +627,7 @@ efx_lic_v1v2_write_key(
 
 	// Ensure space for terminator remains
 	if ((offset + length) >
-	    (buffer_size - EFX_LICENSE_V1V2_HEADER_LENGTH) ) {
+	    (buffer_size - EFX_LICENSE_V1V2_HEADER_LENGTH)) {
 		rc = ENOSPC;
 		goto fail1;
 	}



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