diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-03-22 10:02:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-04 21:33:25 -0700 |
commit | 7989f7d5ea65b10d2d4c8249aca75690d4d71e17 (patch) | |
tree | 670395a11fa31332b69e8438cf70b83f5a4483a1 /drivers/mfd/mfd-core.c | |
parent | 22356585712d1ff08fbfed152edd8b386873b238 (diff) |
staging: hv: update dist release parsing in hv_kvp_daemon
The current code to parse the distribution file handles only files with
at least 3 lines. openSuSE has 2 lines and Redhat only one (according to
google).
Update the parser to handle up to three lines properly. Also make the
buffer allocation dynamic and remove a few casts to avoid compiler
warnings.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: KY Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/mfd/mfd-core.c')
0 files changed, 0 insertions, 0 deletions