Patch "speakup: replace utils' u_char with unsigned char" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    speakup: replace utils' u_char with unsigned char

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     speakup-replace-utils-u_char-with-unsigned-char.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 0a1e1c44176ae95beec745ee2f6b3bcec2862716
Author: Đoàn Trần Công Danh <congdanhqx@xxxxxxxxx>
Date:   Mon Oct 17 15:09:36 2022 +0700

    speakup: replace utils' u_char with unsigned char
    
    [ Upstream commit 92ca969ff8815f3feef2645199bd39bf594e5eeb ]
    
    drivers/accessibility/speakup/utils.h will be used to compile host tool
    to generate metadata.
    
    "u_char" is a non-standard type, which is defined to "unsigned char"
    on glibc but not defined by some libc, e.g. musl.
    
    Let's replace "u_char" with "unsigned char"
    
    Signed-off-by: Đoàn Trần Công Danh <congdanhqx@xxxxxxxxx>
    Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
    Cc: stable <stable@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/b75743026aaee2d81efe3d7f2e8fa47f7d0b8ea7.1665736571.git.congdanhqx@xxxxxxxxx
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/accessibility/speakup/utils.h b/drivers/accessibility/speakup/utils.h
index 4bf2ee8ac246..4ce9a12f7664 100644
--- a/drivers/accessibility/speakup/utils.h
+++ b/drivers/accessibility/speakup/utils.h
@@ -54,7 +54,7 @@ static inline int oops(const char *msg, const char *info)
 
 static inline struct st_key *hash_name(char *name)
 {
-	u_char *pn = (u_char *)name;
+	unsigned char *pn = (unsigned char *)name;
 	int hash = 0;
 
 	while (*pn) {



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux