.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* -*- linux-c -*- ------------------------------------------------------- * |
---|
2 | 3 | * |
---|
3 | 4 | * Copyright (C) 1991, 1992 Linus Torvalds |
---|
4 | 5 | * Copyright 2007 rPath, Inc. - All Rights Reserved |
---|
5 | 6 | * Copyright 2009 Intel Corporation; author H. Peter Anvin |
---|
6 | | - * |
---|
7 | | - * This file is part of the Linux kernel, and is made available under |
---|
8 | | - * the terms of the GNU General Public License version 2. |
---|
9 | 7 | * |
---|
10 | 8 | * ----------------------------------------------------------------------- */ |
---|
11 | 9 | |
---|
.. | .. |
---|
115 | 113 | } else if ((key >= '0' && key <= '9') || |
---|
116 | 114 | (key >= 'A' && key <= 'Z') || |
---|
117 | 115 | (key >= 'a' && key <= 'z')) { |
---|
118 | | - if (len < sizeof entry_buf) { |
---|
| 116 | + if (len < sizeof(entry_buf)) { |
---|
119 | 117 | entry_buf[len++] = key; |
---|
120 | 118 | putchar(key); |
---|
121 | 119 | } |
---|