[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 14/14] tools/xenstore: switch quota management to be table based



Hi Juergen,

On 08/05/2023 12:47, Juergen Gross wrote:
@@ -2714,15 +2710,19 @@ static unsigned int get_optval_uint(const char *arg)
static bool what_matches(const char *arg, const char *what)
  {
-       unsigned int what_len = strlen(what);
+       unsigned int what_len;
+
+       if (!what)
+               return false;
+ what_len = strlen(what);

NIT: Keep the newline before the return.

Acked-by: Julien Grall <jgrall@xxxxxxxxxx>

--
Julien Grall



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.