1
0
Fork 0

Merging upstream version 2.10.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 12:27:38 +01:00
parent 736f2f7c80
commit 37275c4af3
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
530 changed files with 12276 additions and 4877 deletions

View file

@ -16,6 +16,16 @@ static inline long kelvin_to_celsius(long t)
return t + ABSOLUTE_ZERO_CELSIUS;
}
static inline long celsius_to_fahrenheit(long t)
{
return t * 9 / 5 + 32;
}
static inline long kelvin_to_fahrenheit(long t)
{
return celsius_to_fahrenheit(kelvin_to_celsius(t));
}
/* uint128_t is not always available, define our own. */
union nvme_uint128 {
__u8 bytes[16];