diff options
| author | 2022-06-07 20:37:12 +0100 | |
|---|---|---|
| committer | 2022-06-07 20:37:12 +0100 | |
| commit | 073350da0aa2aead9df7927a1c1046ebf5cdd816 (patch) | |
| tree | d1d5f86c817b24f245e218766505962cca3c5581 /include/linux/kernel.h | |
| parent | ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put() (diff) | |
| parent | Linux 5.19-rc1 (diff) | |
Merge tag 'v5.19-rc1' into asoc-5.19
Linux 5.19-rc1
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 08ba5995aa8b..fe6efb24d151 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -64,15 +64,6 @@ ) /** - * lower_48_bits() - return bits 0-47 of a number - * @n: the number we're accessing - */ -static inline u64 lower_48_bits(u64 n) -{ - return n & ((1ull << 48) - 1); -} - -/** * upper_32_bits - return bits 32-63 of a number * @n: the number we're accessing * @@ -294,7 +285,7 @@ static inline char *hex_byte_pack_upper(char *buf, u8 byte) return buf; } -extern int hex_to_bin(char ch); +extern int hex_to_bin(unsigned char ch); extern int __must_check hex2bin(u8 *dst, const char *src, size_t count); extern char *bin2hex(char *dst, const void *src, size_t count); |
