[1/1] linux/types.h: fix typo unchar
diff mbox series

Message ID 20191207232201.42912-1-xypron.glpk@gmx.de
State Accepted
Delegated to: Tom Rini
Headers show
Series
  • [1/1] linux/types.h: fix typo unchar
Related show

Commit Message

Heinrich Schuchardt Dec. 7, 2019, 11:22 p.m. UTC
unsigned char should be called uchar and not unchar.

This fixes a build error in lib/crypto/x509_cert_parser.c.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 include/linux/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.20.1

Comments

Tom Rini Dec. 9, 2019, 6:47 p.m. UTC | #1
On Sun, Dec 08, 2019 at 12:22:01AM +0100, Heinrich Schuchardt wrote:

> unsigned char should be called uchar and not unchar.
> 
> This fixes a build error in lib/crypto/x509_cert_parser.c.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Applied to u-boot/master, thanks!

Patch
diff mbox series

diff --git a/include/linux/types.h b/include/linux/types.h
index 51cb284bb8..bd912bcb42 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -85,7 +85,7 @@  typedef unsigned int		u_int;
 typedef unsigned long		u_long;

 /* sysv */
-typedef unsigned char		unchar;
+typedef unsigned char		uchar;
 typedef unsigned short		ushort;
 typedef unsigned int		uint;
 typedef unsigned long		ulong;