Skip to contentSkip to conversation

linux/types.h: fix typo unchar

PATCH New Heinrich Schuchardt 2 participants 2 messages Dec 7, 2019 – Dec 9, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/types.h: fix typo unchar

unsigned char should be called uchar and not unchar.

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

---
 include/linux/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/types.h +1 -1
index 51cb284bb8..bd912bcb42 100644
@@ -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;

--
2.20.1

#1 lore raw

PATCH 1/1 linux/types.h: fix typo unchar

Quoted 5 lines · Heinrich Schuchardt

unsigned char should be called uchar and not unchar.

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191209/17fb0541/attachment.sig>