From 2fe5245774783f59f9a58d625359fc421d1ab948 Mon Sep 17 00:00:00 2001 From: gtament Date: Sat, 16 Aug 2014 18:58:42 +0000 Subject: [PATCH] Fixed include paths typo. Small improvement in linkedlist_isvalid git-svn-id: svn://kolibrios.org@5036 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/usb/usbftdi/linkedlist.inc | 5 ++--- drivers/usb/usbftdi/usbftdi.asm | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/usb/usbftdi/linkedlist.inc b/drivers/usb/usbftdi/linkedlist.inc index 7b48862747..dffbb78452 100644 --- a/drivers/usb/usbftdi/linkedlist.inc +++ b/drivers/usb/usbftdi/linkedlist.inc @@ -46,11 +46,10 @@ linkedlist_delete: ret linkedlist_isvalid: ;eax - pointer to check; returns zero if valid - inc ecx - test eax, eax - jz .valid_pointer ;actually, poiner is not valid push ebx ecx xor ecx, ecx + test eax, eax + jz .invalid_pointer mov ebx, [head] .next_check: cmp eax, ebx diff --git a/drivers/usb/usbftdi/usbftdi.asm b/drivers/usb/usbftdi/usbftdi.asm index c0a64900a5..8f81dd7115 100644 --- a/drivers/usb/usbftdi/usbftdi.asm +++ b/drivers/usb/usbftdi/usbftdi.asm @@ -22,10 +22,10 @@ __DEBUG_LEVEL__ = 1 node equ ftdi_context node.next equ ftdi_context.next_context -include '../proc32.inc' -include '../imports.inc' -include '../fdo.inc' -include '../struct.inc' +include '../../proc32.inc' +include '../../imports.inc' +include '../../fdo.inc' +include '../../struct.inc' public START public version