More range checks

This is a second patch adding more range checks where appropriate.

Change-Id: Ie169efe8924153c9cc11e4472a1b07b8d04efb3b
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/sections/cper-section-pci-bus.c b/sections/cper-section-pci-bus.c
index 70b5a2c..ac13187 100644
--- a/sections/cper-section-pci-bus.c
+++ b/sections/cper-section-pci-bus.c
@@ -54,8 +54,8 @@
 	}
 
 	//Miscellaneous numeric fields.
-	UINT8 command_type = (bus_error->BusCommand >> 56) &
-			     0x1; //Byte 7, bit 0.
+	//Byte 7, bit 0.
+	UINT8 command_type = (bus_error->BusCommand >> 56) & 0x1;
 	if (isvalid_prop_to_ir(&ui64Type, 3)) {
 		json_object_object_add(
 			section_ir, "busAddress",