Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2019 17:04:16 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r356011 - in stable: 11/sys/dev/kbd 12/sys/dev/kbd
Message-ID:  <201912221704.xBMH4G3m049131@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Sun Dec 22 17:04:16 2019
New Revision: 356011
URL: https://svnweb.freebsd.org/changeset/base/356011

Log:
  Fix kbdd_diag definition
  
  This is a direct commit to stable branches as these have been converted to
  inline functions in head, which will likely not get MFC'd due to limited
  utility -- follow up locking assertions likely cannot be done in stable
  branches.
  
  The use of 'level' in the macro definition was truncated to 'leve', which
  makes the macro unusable.

Modified:
  stable/12/sys/dev/kbd/kbdreg.h

Changes in other areas also in this revision:
Modified:
  stable/11/sys/dev/kbd/kbdreg.h

Modified: stable/12/sys/dev/kbd/kbdreg.h
==============================================================================
--- stable/12/sys/dev/kbd/kbdreg.h	Sun Dec 22 17:01:44 2019	(r356010)
+++ stable/12/sys/dev/kbd/kbdreg.h	Sun Dec 22 17:04:16 2019	(r356011)
@@ -205,7 +205,7 @@ typedef struct keyboard_switch {
 #define kbdd_poll(kbd, on)						\
 	(*kbdsw[(kbd)->kb_index]->poll)((kbd), (on))
 #define kbdd_diag(kbd, level)						\
-	(*kbdsw[(kbd)->kb_index]->diag)((kbd), (leve))
+	(*kbdsw[(kbd)->kb_index]->diag)((kbd), (level))
 
 /*
  * Keyboard driver definition.  Some of these be immutable after definition



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