git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: corrected time conversion on alarm/sleep syscall
[lunaix-os.git]
/
lunaix-os
/
hal
/
ahci
/
hbadev_export.c
diff --git
a/lunaix-os/hal/ahci/hbadev_export.c
b/lunaix-os/hal/ahci/hbadev_export.c
index d193937c8376ff1ae68deb899ae490c697f11fb7..3fea81d9c4c736f0c944a66a4ec904faf2ad341c 100644
(file)
--- a/
lunaix-os/hal/ahci/hbadev_export.c
+++ b/
lunaix-os/hal/ahci/hbadev_export.c
@@
-38,8
+38,8
@@
void
__blk_rd_wwid(struct twimap* map)
{
struct hba_device* hbadev = twimap_data(map, struct hba_device*);
__blk_rd_wwid(struct twimap* map)
{
struct hba_device* hbadev = twimap_data(map, struct hba_device*);
- u
int
32_t h = hbadev->wwn >> 32;
- u
int32_t l = (uint
32_t)hbadev->wwn;
+ u32_t h = hbadev->wwn >> 32;
+ u
32_t l = (u
32_t)hbadev->wwn;
if ((h | l)) {
twimap_printf(map, "wwn:%x%x", h, l);
} else {
if ((h | l)) {
twimap_printf(map, "wwn:%x%x", h, l);
} else {