chore: fix almost *ALL* warnings.
[lunaix-os.git] / lunaix-os / hal / ahci / ata.c
index de59eb93f0d8cd741e27d84307304e5f74706a10..c698348b1b7280403348818300ba15ba15c9c708 100644 (file)
@@ -28,7 +28,7 @@ sata_submit(struct hba_device* dev, struct blkio_req* io_req)
 
     header->options |= HBA_CMDH_WRITE * write;
 
-    uint16_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)) {