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
chore: fix almost *ALL* warnings.
[lunaix-os.git]
/
lunaix-os
/
hal
/
ahci
/
ata.c
diff --git
a/lunaix-os/hal/ahci/ata.c
b/lunaix-os/hal/ahci/ata.c
index de59eb93f0d8cd741e27d84307304e5f74706a10..c698348b1b7280403348818300ba15ba15c9c708 100644
(file)
--- a/
lunaix-os/hal/ahci/ata.c
+++ b/
lunaix-os/hal/ahci/ata.c
@@
-28,7
+28,7
@@
sata_submit(struct hba_device* dev, struct blkio_req* io_req)
header->options |= HBA_CMDH_WRITE * write;
header->options |= HBA_CMDH_WRITE * write;
- u
int
16_t count = ICEIL(vbuf_size(io_req->vbuf), port->device->block_size);
+ u16_t count = ICEIL(vbuf_size(io_req->vbuf), port->device->block_size);
struct sata_reg_fis* fis = (struct sata_reg_fis*)table->command_fis;
if ((port->device->flags & HBA_DEV_FEXTLBA)) {
struct sata_reg_fis* fis = (struct sata_reg_fis*)table->command_fis;
if ((port->device->flags & HBA_DEV_FEXTLBA)) {