diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-07-07 16:39:50 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-07 08:53:49 -0700 |
commit | 3bc5ab9b7f2760d2892fd0a0589e1077e869d4f5 (patch) | |
tree | 3e47e57b1a685afc24f0e7c4122f2bc69a19385c /drivers/scsi/scsi_debug.c | |
parent | 0fe1ef24f7bd0020f29ffe287dfdb9ead33ca0b2 (diff) |
powerpc: Fix unterminated of_device_id array in legacy_serial.c
A recent patch to legacy_serial.c factored out some code by
using the of_match_node() facility to match a node against
an array of possible matches. However, the patch didn't properly
terminate the array causing potential crashes in cases where no
match is found. In addition, the name of the array was poorly
chosen for a static symbol making debugging harder.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions