{
int i;
- for (i = POD_CONTROL_SIZE; i--;)
+ for (i = 0; i < POD_CONTROL_SIZE; i++)
set_bit(i, pod->param_dirty);
}
if (count != sizeof(pod->prog_data)) {
dev_err(pod->line6.ifcdev,
- "data block must be exactly %d bytes\n",
- (int)sizeof(pod->prog_data));
+ "data block must be exactly %d bytes\n",
+ sizeof(pod->prog_data));
return -EINVAL;
}
if (count != sizeof(pod->prog_data)) {
dev_err(pod->line6.ifcdev,
"data block must be exactly %d bytes\n",
- (int)sizeof(pod->prog_data));
+ sizeof(pod->prog_data));
return -EINVAL;
}