Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1501586

Re: [patch] power: supply: lp8788: remove an unneeded NULL check

From "Kim, Milo" <milo.kim@ti.com>
Newsgroups linux.kernel
Subject Re: [patch] power: supply: lp8788: remove an unneeded NULL check
Date 2016-10-17 02:50 +0200
Message-ID <st4hP-4FT-1@gated-at.bofh.it> (permalink)
References <ss5fX-6KQ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/14/2016 4:33 PM, Dan Carpenter wrote:
> We checked that "pdata->chg_params" is non-NULL earlier in this function
> so when we add "i" to it, it's still non-NULL.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Acked-by: Milo Kim <milo.kim@ti.com>

Thanks for catching this.

Best regards,
Milo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[patch] power: supply: lp8788: remove an unneeded NULL check Dan Carpenter <dan.carpenter@oracle.com> - 2016-10-14 09:40 +0200
  Re: [patch] power: supply: lp8788: remove an unneeded NULL check "Kim, Milo" <milo.kim@ti.com> - 2016-10-17 02:50 +0200
  Re: [patch] power: supply: lp8788: remove an unneeded NULL check Sebastian Reichel <sre@kernel.org> - 2016-10-19 05:40 +0200

csiph-web