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_imon.c (1 of 2 files). Show all
Unified · Split
| @@ -379,7 +379,7 @@ static ssize_t vfd_write(struct file *file, const char *buf, · 378 unmodified lines | ||
| 379 | 379 | struct imon_context *context; |
| 380 | 380 | const unsigned char vfd_packet6[] = { |
| 381 | 381 | 0x01, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF }; |
| 382 | − int *data_buf; | |
| 382 | + int *data_buf = NULL; | |
| 383 | 383 | |
| 384 | 384 | context = file->private_data; |
| 385 | 385 | if (!context) { |