Aaron Durbin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36561 ) Change subject: lib/imd: Use uintptr_t over void * ...................................................................... Patch Set 8: (1 comment) https://review.coreboot.org/c/coreboot/+/36561/8/src/lib/imd.c File src/lib/imd.c: https://review.coreboot.org/c/coreboot/+/36561/8/src/lib/imd.c@545 PS8, Line 545: low_addr = (uintptr_t)r + e->start_offset; relative pointer was utilizing intptr_t where now you are making this a uinptr_t. It probably doesn't matter in many of our situations, but we should be consistent and cast to intptr_t in the expression? start_offset is signed so it should sign extend on the implicit conversion if the type sizes are different. -- To view, visit https://review.coreboot.org/c/coreboot/+/36561 To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-Change-Id: I3c41963202e5912da7c96ed8236e80e8bc27a4ed Gerrit-Change-Number: 36561 Gerrit-PatchSet: 8 Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-CC: Aaron Durbin <adurbin@chromium.org> Gerrit-Comment-Date: Mon, 04 Nov 2019 15:52:13 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment