lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohpo=3BR4hA9HVOuhJs+FZNVeatXkmNkS43C_cLxL2Z9KQ9Q@mail.gmail.com>
Date:	Fri, 7 Feb 2014 15:37:09 +0530
From:	Viresh Kumar <viresh.kumar@...aro.org>
To:	Jingoo Han <jg1.han@...sung.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Alessandro Zummo <a.zummo@...ertech.it>,
	rtc-linux@...glegroups.com, Rajeev kumar <rajeev-dlh.kumar@...com>
Subject: Re: [PATCH 10/10] rtc: rtc-spear: Remove unnecessary OOM messages

On 7 February 2014 13:45, Jingoo Han <jg1.han@...sung.com> wrote:
> The site-specific OOM messages are unnecessary, because they
> duplicate the MM subsystem generic OOM message.
>
> Signed-off-by: Jingoo Han <jg1.han@...sung.com>
> ---
>  drivers/rtc/rtc-spear.c |    4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/rtc/rtc-spear.c b/drivers/rtc/rtc-spear.c
> index c492cf0..d2cdb98 100644
> --- a/drivers/rtc/rtc-spear.c
> +++ b/drivers/rtc/rtc-spear.c
> @@ -365,10 +365,8 @@ static int spear_rtc_probe(struct platform_device *pdev)
>         }
>
>         config = devm_kzalloc(&pdev->dev, sizeof(*config), GFP_KERNEL);
> -       if (!config) {
> -               dev_err(&pdev->dev, "out of memory\n");
> +       if (!config)
>                 return -ENOMEM;
> -       }
>
>         /* alarm irqs */
>         irq = platform_get_irq(pdev, 0);

Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ