[coreboot-gerrit] Change in libhwbase[master]: direct pci, debug: Minor style fixes

Nico Huber (Code Review) gerrit at coreboot.org
Mon Jun 4 22:42:47 CEST 2018


Nico Huber has uploaded this change for review. ( https://review.coreboot.org/26840


Change subject: direct pci, debug: Minor style fixes
......................................................................

direct pci, debug: Minor style fixes

Change-Id: I8adbf75babc233dff79e5c8921d1f24692a939ab
Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
M common/direct/hw-pci-dev.adb
M debug/hw-debug.adb
M debug/hw-debug.ads
3 files changed, 5 insertions(+), 5 deletions(-)



  git pull ssh://review.coreboot.org:29418/libhwbase refs/changes/40/26840/1

diff --git a/common/direct/hw-pci-dev.adb b/common/direct/hw-pci-dev.adb
index 3d76521..8a1a56b 100644
--- a/common/direct/hw-pci-dev.adb
+++ b/common/direct/hw-pci-dev.adb
@@ -78,8 +78,8 @@
 
    procedure Resource_Size (Length : out Natural; Res : Resource)
    is
-      use Type HW.Word16;
-      use Type HW.Word32;
+      use type HW.Word16;
+      use type HW.Word32;
 
       Cmd : Word16;
       Base, Backup : Word32;
diff --git a/debug/hw-debug.adb b/debug/hw-debug.adb
index 60968e1..2f1fed9 100644
--- a/debug/hw-debug.adb
+++ b/debug/hw-debug.adb
@@ -251,7 +251,7 @@
             Debug_Sink.Put_Char (' ');
             for J in Natural range 8 .. Natural'Min (15, Left)
             loop
-               Put_Word (Word64(Buf (Line_Start + J)), 2, False);
+               Put_Word (Word64 (Buf (Line_Start + J)), 2, False);
                Debug_Sink.Put_Char (' ');
             end loop;
             New_Line;
@@ -272,7 +272,7 @@
 
    ----------------------------------------------------------------------------
 
-   Procedure Register_Write_Wait
+   procedure Register_Write_Wait
    is
    begin
       if Register_Write_Delay_Nanoseconds > 0 then
diff --git a/debug/hw-debug.ads b/debug/hw-debug.ads
index adf61fb..e3d6b2b 100644
--- a/debug/hw-debug.ads
+++ b/debug/hw-debug.ads
@@ -37,7 +37,7 @@
    procedure Put_Buffer (Name : String; Buf : in Buffer; Len : in Buffer_Range);
 
    procedure Set_Register_Write_Delay (Value : Word64);
-   Procedure Register_Write_Wait;
+   procedure Register_Write_Wait;
 end HW.Debug;
 
 --  vim: set ts=8 sts=3 sw=3 et:

-- 
To view, visit https://review.coreboot.org/26840
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: libhwbase
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8adbf75babc233dff79e5c8921d1f24692a939ab
Gerrit-Change-Number: 26840
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180604/7ff48d6d/attachment.html>


More information about the coreboot-gerrit mailing list