[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdb+cRbq8B09O+CtiFVHEcvRq4K4JZ1CFNx+h4n3tPvfBA@mail.gmail.com>
Date: Mon, 23 Sep 2013 10:47:53 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] pinctrl: remove an unnecessary cast
On Tue, Sep 17, 2013 at 12:47 PM, Dan Carpenter
<dan.carpenter@...cle.com> wrote:
> sizeof() is already size_t so there is no need to cast here. Generally,
> casting inside the min() macro instead of using min_t() is considered
> bad style.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Patch applied!
Thanks,
Linus Walleij
--
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