staging: dgap: Fix how we insure config data is a string
authorMark Hounschell <markh@compro.net>
Wed, 23 Apr 2014 14:33:44 +0000 (10:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 19:15:18 +0000 (12:15 -0700)
commit077c28f8c2f6d375bb7927c1f909df810776647b
tree1bfb146a86b638af0537ceeacd14924d82a41dc2
parentabeb935f11e1b5c891456e5f567b65422ea87952
staging: dgap: Fix how we insure config data is a string

This patch changes the way we insure the config data
is a string. Clearly this was just wrong. After a
certain number of loads/unloads various OOPs were
generated indicating something other than this driver
had a problem. It was this driver.

Signed-off-by: Mark Hounschell <markh@compro.net>
Tested-by: Mark Hounschell <markh@compro.net>
Reported-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c