aboutsummaryrefslogtreecommitdiff
path: root/sfpdiag.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfpdiag.c')
-rw-r--r--sfpdiag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfpdiag.c b/sfpdiag.c
index fa41651..1fa8b7b 100644
--- a/sfpdiag.c
+++ b/sfpdiag.c
@@ -190,8 +190,8 @@ static float befloattoh(const __u32 *source)
static void sff8472_calibration(const __u8 *id, struct sff_diags *sd)
{
- int i;
__u16 rx_reading;
+ unsigned int i;
/* Calibration should occur for all values (threshold and current) */
for (i = 0; i < ARRAY_SIZE(sd->bias_cur); ++i) {