Revert "Fix compilation on Ubuntu 14.04"

This reverts commit bc0579d0ff.

The commit bc0579d makes acrn-dm crashed when launch UOS.
Crash log:
./launch_UOS.sh: line 112:   377 Segmentation fault (core dumped) acrn-dm ...
dmesg log:
acrn-dm[1264]: segfault at 1f0 ip 0000000000412257 sp 00007fffc1af9920 error 6 in acrn-dm[400000+3d000]

After this patch reverted, UOS launched successfully.
This commit is contained in:
Qi Yadong
2018-04-11 12:06:40 +08:00
committed by Jack Ren
parent c5b14c2646
commit e86b01f57e
2 changed files with 5 additions and 5 deletions

View File

@@ -1478,7 +1478,7 @@ static void
atapi_mode_sense(struct ahci_port *p, int slot, uint8_t *cfis)
{
uint8_t *acmd;
uint32_t tfd =0;
uint32_t tfd;
uint8_t pc, code;
int len;