[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180517.162352.1826184322821268246.davem@davemloft.net>
Date: Thu, 17 May 2018 16:23:52 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, jakub.kicinski@...ronome.com,
simon.horman@...ronome.com, dirk.vandermerwe@...ronome.com,
john.hurley@...ronome.com, pieter.jansenvanvuuren@...ronome.com,
oss-drivers@...ronome.com
Subject: Re: [patch net-next] nfp: flower: fix error path during
representor creation
From: Jiri Pirko <jiri@...nulli.us>
Date: Thu, 17 May 2018 12:06:43 +0200
> From: Jiri Pirko <jiri@...lanox.com>
>
> Don't store repr pointer to reprs array until the representor is
> successfully created. This avoids message about "representor
> destruction" even when it was never created. Also it cleans-up the flow.
> Also, check return value after port alloc.
>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks Jiri.
Powered by blists - more mailing lists