lkml.org 
[lkml]   [2011]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] hv: update dist release parsing in hv_kvp_daemon
Date


> -----Original Message-----
> From: Olaf Hering [mailto:olaf@aepfle.de]
> Sent: Tuesday, March 22, 2011 5:02 AM
> To: Hank Janssen; Haiyang Zhang; Greg Kroah-Hartman; KY Srinivasan
> Cc: linux-kernel@vger.kernel.org
> 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
\
 
 \ /
  Last update: 2011-03-22 15:13    [W:0.031 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site