diff options
| author | Lothar Waßmann <[email protected]> | 2012-04-03 15:03:44 +0200 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2012-04-10 22:17:15 -0600 |
| commit | 39ec0d38141b198f94fd19c2bb10fd7c616510d2 (patch) | |
| tree | 45fdc314c87e04398e4de5c0c93f8590556b1c4c /lib/mpi/mpi-gcd.c | |
| parent | cc4d22ae541ccd989ef163c46a38afde131e1644 (diff) | |
spi/imx: prevent NULL pointer dereference in spi_imx_probe()
When no platform_data is present and either 'spi-num-chipselects' is
not defined in the DT or 'cs-gpios' has less entries than
'spi-num-chipselects' specifies, the NULL platform_data pointer is
being dereferenced.
Signed-off-by: Lothar Waßmann <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-gcd.c')
0 files changed, 0 insertions, 0 deletions