svn commit: r356011 - in stable: 11/sys/dev/kbd 12/sys/dev/kbd
Kyle Evans
kevans at FreeBSD.org
Sun Dec 22 17:04:16 UTC 2019
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/11/sys/dev/kbd/kbdreg.h
Changes in other areas also in this revision:
Modified:
stable/12/sys/dev/kbd/kbdreg.h
Modified: stable/11/sys/dev/kbd/kbdreg.h
==============================================================================
--- stable/11/sys/dev/kbd/kbdreg.h Sun Dec 22 17:01:44 2019 (r356010)
+++ stable/11/sys/dev/kbd/kbdreg.h Sun Dec 22 17:04:16 2019 (r356011)
@@ -203,7 +203,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
More information about the svn-src-stable-11
mailing list