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


Groups > linux.kernel > #1628741

Re: [PATCH 2/8] clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe()

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/8] clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe()
Date 2017-04-22 04:50 +0200
Message-ID <tyThv-5w6-1@gated-at.bofh.it> (permalink)
References <tyfDr-6zX-3@gated-at.bofh.it> <tyfDs-6zX-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/20, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Thu, 20 Apr 2017 07:34:54 +0200
> 
> The script "checkpatch.pl" pointed information out like the following.
> 
> * CHECK: Comparison to NULL could be written "!drvdata"
> 
>   Thus adjust this expression.
> 
> 
> * WARNING: Possible unnecessary 'out of memory' message
> 
>   Thus remove such a statement here.
> 
>   Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
> 
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

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


Thread

[PATCH 2/8] clk: si5351: Delete an error message for a failed memory  allocation in si5351_i2c_probe() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-04-20 10:30 +0200
  Re: [PATCH 2/8] clk: si5351: Delete an error message for a failed  memory allocation in si5351_i2c_probe() Stephen Boyd <sboyd@codeaurora.org> - 2017-04-22 04:50 +0200

csiph-web