diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 19:00:37 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-17 18:03:59 +0100 |
commit | 23602dfd6812dba0499318e1ec25492faa17febb (patch) | |
tree | dec83ada3f60be39bbc7aa1fc3b1c0daf2b527bb /src/soc/intel/broadwell/iobp.c | |
parent | 26b7cd0fa86562402b72509319a2b98ce8c21a8e (diff) | |
download | coreboot-23602dfd6812dba0499318e1ec25492faa17febb.tar.xz |
soc/intel/broadwell: Add int to unsigned
Fix the following issue detected by checkpatch:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
TEST=None
Change-Id: Iae22e724b6adae16248db7dc8f822f65bfadae5f
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18873
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/soc/intel/broadwell/iobp.c')
-rw-r--r-- | src/soc/intel/broadwell/iobp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/iobp.c b/src/soc/intel/broadwell/iobp.c index 031d2bd70e..8d3a562b81 100644 --- a/src/soc/intel/broadwell/iobp.c +++ b/src/soc/intel/broadwell/iobp.c @@ -23,7 +23,7 @@ static inline int iobp_poll(void) { - unsigned try; + unsigned int try; for (try = IOBP_RETRY; try > 0; try--) { u16 status = RCBA16(IOBPS); |