Both lirc_imon and lirc_sasem were causing gcc to complain about the possible use of uninitialized variables.
Showing the changes to drivers/staging/lirc/lirc_sasem.c (1 of 2 files). Show all
Unified · Split
| @@ -364,7 +364,7 @@ static ssize_t vfd_write(struct file *file, const char *buf, · 363 unmodified lines | ||
| 364 | 364 | int i; |
| 365 | 365 | int retval = 0; |
| 366 | 366 | struct sasem_context *context; |
| 367 | − int *data_buf; | |
| 367 | + int *data_buf = NULL; | |
| 368 | 368 | |
| 369 | 369 | context = (struct sasem_context *) file->private_data; |
| 370 | 370 | if (!context) { |