diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-06-05 17:03:30 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-06-28 19:32:18 +0000 |
commit | 464f4d6ee240e5afd44317d9b7bc4a1228c04899 (patch) | |
tree | dac056ca7e269aec511043a5569d355a8f2b8a9d /src/device/dram/ddr3.c | |
parent | f77f7cdf891a3ab47f71eb392e4229ece33f27ac (diff) | |
download | coreboot-464f4d6ee240e5afd44317d9b7bc4a1228c04899.tar.xz |
device: Tidy up add_more_links()
- Add documentation comment
- Use 'unsigned int' to make checkpatch happy
- Return early if no more links need to be added
- Add error handling if malloc fails
- Clean up whitespace
Change-Id: I70976ee2539b058721d0ae3c15edf279253cd9b7
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1229634
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33238
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/dram/ddr3.c')
0 files changed, 0 insertions, 0 deletions