diff options
| author | Ben Dooks <[email protected]> | 2008-02-06 01:39:44 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-06 10:41:18 -0800 |
| commit | e8973637bd49de225130f9c04ceb388d48969d98 (patch) | |
| tree | 598aa995af584390fe3a1e0feb6280b8608272a0 /scripts | |
| parent | c0d40335353e1c89c9c885e5af4d0be0f1a50483 (diff) | |
FB/S3C2410: check default_display parameter passed in platform data
Ensure that the default display parameter passed in via the
device's platform data is valid. It turns out when mach-bast.c
was updated, the default_display was set outside of the display
array bounds, causing a panic on startup.
If the default_display is bigger than num_displays, then generate
an error and refuse to initialise the driver.
Signed-off-by: Ben Dooks <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Cc: Vincent Sanders <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions