RE: [PATCH] hv: update dist release parsing in hv_kvp_daemon

From: KY Srinivasan
Date: Tue Mar 22 2011 - 10:11:11 EST




> -----Original Message-----
> From: Olaf Hering [mailto:olaf@xxxxxxxxx]
> Sent: Tuesday, March 22, 2011 5:02 AM
> To: Hank Janssen; Haiyang Zhang; Greg Kroah-Hartman; KY Srinivasan
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Subject: [PATCH] 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.

Looks good. Thanks Olaf.

Regards,

K. Y
N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i