mirror of https://github.com/torvalds/linux.git
On reading in_voltage_scale of we got an NULL pointer dereference Oops.
The reason for this is, that mcp320x_read_raw tries to access
chip_info->resolution from struct mcp320x, but chip_info is never set.
chip_info was never set since the driver was added, but there was no
acute problem, because it was not referenced.
The acute problem exists since
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ad799x.c | ||
| ad7266.c | ||
| ad7291.c | ||
| ad7298.c | ||
| ad7476.c | ||
| ad7791.c | ||
| ad7793.c | ||
| ad7887.c | ||
| ad7923.c | ||
| ad_sigma_delta.c | ||
| at91_adc.c | ||
| axp288_adc.c | ||
| berlin2-adc.c | ||
| cc10001_adc.c | ||
| da9150-gpadc.c | ||
| exynos_adc.c | ||
| lp8788_adc.c | ||
| max1027.c | ||
| max1363.c | ||
| mcp320x.c | ||
| mcp3422.c | ||
| men_z188_adc.c | ||
| nau7802.c | ||
| qcom-spmi-iadc.c | ||
| qcom-spmi-vadc.c | ||
| rockchip_saradc.c | ||
| ti-adc081c.c | ||
| ti-adc128s052.c | ||
| ti_am335x_adc.c | ||
| twl4030-madc.c | ||
| twl6030-gpadc.c | ||
| vf610_adc.c | ||
| viperboard_adc.c | ||
| xilinx-xadc-core.c | ||
| xilinx-xadc-events.c | ||
| xilinx-xadc.h | ||