From: Jingoo Han <jg1.han@samsung.com>
To: "'Daniel Lezcano'" <daniel.lezcano@linaro.org>
Cc: "'Thomas Gleixner'" <tglx@linutronix.de>,
linux-kernel@vger.kernel.org,
"'Shinya Kuribayashi'" <shinya.kuribayashi.px@renesas.com>,
"'Magnus Damm'" <damm@opensource.se>,
"'Viresh Kumar'" <viresh.kumar@linaro.org>,
"'Laurent Pinchart'" <laurent.pinchart@ideasonboard.com>,
"'Dan Carpenter'" <dan.carpenter@oracle.com>,
"'Joe Perches'" <joe@perches.com>,
"'Thierry Reding'" <thierry.reding@gmail.com>,
"'Andrew Morton'" <akpm@linux-foundation.org>,
"'Jingoo Han'" <jg1.han@samsung.com>
Subject: Re: [PATCH 1/4] clocksource: em_sti: remove unnecessary OOM messages
Date: Thu, 22 May 2014 13:55:20 +0900 [thread overview]
Message-ID: <001a01cf757a$087b4530$1971cf90$%han@samsung.com> (raw)
In-Reply-To: <5379E177.2030707@linaro.org>
On Monday, May 19, 2014 7:48 PM, Daniel Lezcano wrote:
> On 04/29/2014 10:26 AM, Jingoo Han wrote:
> > The site-specific OOM messages are unnecessary, because they
> > duplicate the MM subsystem generic OOM message.
>
> Are you sure the MM subsys display a message when an allocation fails ?
>
> There are multiple reasons an allocation can fail.
(+cc Viresh Kumar, Laurent Pinchart, Dan Carpenter, Joe Perches,
Thierry Reding, Andrew Morton)
There was a discussion about this in other threads. [1]
Please refer to the following link. Thank you.
[1] http://patchwork.ozlabs.org/patch/324158/
Best regards,
Jingoo Han
>
> > Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> > ---
> > drivers/clocksource/em_sti.c | 4 +---
> > 1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c
> > index 9d17083..d0a7bd6 100644
> > --- a/drivers/clocksource/em_sti.c
> > +++ b/drivers/clocksource/em_sti.c
> > @@ -318,10 +318,8 @@ static int em_sti_probe(struct platform_device *pdev)
> > int irq;
> >
> > p = devm_kzalloc(&pdev->dev, sizeof(*p), GFP_KERNEL);
> > - if (p == NULL) {
> > - dev_err(&pdev->dev, "failed to allocate driver data\n");
> > + if (p == NULL)
> > return -ENOMEM;
> > - }
> >
> > p->pdev = pdev;
> > platform_set_drvdata(pdev, p);
> >
next prev parent reply other threads:[~2014-05-22 4:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-29 8:24 [PATCH 0/4] clocksource: " Jingoo Han
2014-04-29 8:26 ` [PATCH 1/4] clocksource: em_sti: " Jingoo Han
2014-05-19 10:48 ` Daniel Lezcano
2014-05-22 4:55 ` Jingoo Han [this message]
2014-05-22 7:27 ` Dan Carpenter
2014-05-22 11:54 ` Daniel Lezcano
2014-04-29 8:27 ` [PATCH 2/4] clocksource: sh_cmt: " Jingoo Han
2014-04-29 8:27 ` [PATCH 3/4] clocksource: sh_mtu2: " Jingoo Han
2014-04-29 8:28 ` [PATCH 4/4] clocksource: sh_tmu: " Jingoo Han
2014-05-22 12:06 ` [PATCH 0/4] clocksource: " Daniel Lezcano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001a01cf757a$087b4530$1971cf90$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=akpm@linux-foundation.org \
--cc=damm@opensource.se \
--cc=dan.carpenter@oracle.com \
--cc=daniel.lezcano@linaro.org \
--cc=joe@perches.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=shinya.kuribayashi.px@renesas.com \
--cc=tglx@linutronix.de \
--cc=thierry.reding@gmail.com \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome