[stgt] [PATCH] Passing NULL to ldd_init() instead of illegal address

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Jun 3 01:26:55 CEST 2012


On Thu, 31 May 2012 09:49:48 +0300
Roi Dayan <roid at mellanox.com> wrote:

> ldd_init() was passed illegal address in case there were no non-option arguments
> 
> Signed-off-by: Roi Dayan <roid at mellanox.com>

Applied, thanks.

> 
> Hi Tomo,
> 
> This is the same commit I just fixed the description in the commit since
> it said the illegal address was passed when there are non-option args.
> 
> This patch fix the case where there were no non-option arguments and then
> lld_init() was passed an illegal address.
> I noticed that all non-option arguments are passed to each lld but not in use.
> Maybe its something that can be removed?

Yeah, maybe. But let's keep it for now. It doesn't do something like
making other code complicated.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list