Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3983798imm; Mon, 15 Oct 2018 07:20:55 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ejcDEfDVyxy9xzkiQ/8cHA8/z45mrqrmDltLA8F75VcsZvQ2Ix4FUURa7xSNDBCaopagh X-Received: by 2002:a63:5353:: with SMTP id t19-v6mr16080524pgl.199.1539613255439; Mon, 15 Oct 2018 07:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539613255; cv=none; d=google.com; s=arc-20160816; b=M7LV/j08nHjfbfJgbRsh1dXWddyp6BX4dT1WfWn5BK1Z6L82CTFpVK+F6mg4YQpZP/ 6l8X/61xqDrYswP105n1wHspKswi+aB4bB4K1I5CvrD2R2bmFpglK7BXy8UpIaGQ7sXe XLcQjx2kwPJDuFKPMWvB2vaaJpMPW1laQLfU5UQGJpN0Dg9REj5noVJeJCqcCZk23K5h /TcWnT5ghET1QdNItsP3W3yl5rCRkdo++dd6mZRAiBuRceqSCIxG13o65Xhoqp0hXjpM mvNIKG7gsC2OS/kl8adk87Z3/FRGWv/NKjgL9Y4sYXhdaJ26FrJCG2FVBsckf377N/HV El2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iXoE6HyH3otyGl62Cp1qwrpVWOMepFjzTme9Igi15u8=; b=abZmOvNfPK0NJDzMC7BClIPzzg/yEBvEHX+FAE4nUsRpIzVsNoX24DRo6T8aXJK4ty Fzzv1Fqqi1AoydZmeXfOLJFbaI14trIsacRqt14sBaCvSeTPJfbz9ab8LHeS4iztq7av Ua/8jBboMjDVDdwvdLQU99g4k//7TZs7W7LEcxpKmNeFDplF2SM4rN8BS3E+nCfkyRuZ FILlhFQ7B5lg0SE56jYjG4nAympL+Xp50q2u+hdLXUhgnlFrtEjIH25njEYRAZU1NTDs PuW0NAzQWCh+9Xt8yh/8W7PRlZGRN06PyoPAuwsj5xP2yLiWHQOPhXnUEgPIFRus7CcZ SfSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Seax8rZJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1-v6si10072854pgp.376.2018.10.15.07.20.40; Mon, 15 Oct 2018 07:20:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Seax8rZJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726599AbeJOWEN (ORCPT + 99 others); Mon, 15 Oct 2018 18:04:13 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:33189 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbeJOWEM (ORCPT ); Mon, 15 Oct 2018 18:04:12 -0400 Received: by mail-qt1-f196.google.com with SMTP id q40-v6so21612336qte.0 for ; Mon, 15 Oct 2018 07:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iXoE6HyH3otyGl62Cp1qwrpVWOMepFjzTme9Igi15u8=; b=Seax8rZJIehDZ1vXcahkfyj+vHMwckF2gbZKlUHthntJLv+94hS7NFEhJdN9L46vzj GFVjob+mLCM4lIa3bNhGeaz64Zl5oXl3967fIvdjL/spxZ3jh87hsfDjF8I8+AybQ4nh YltkoP0q9ApibzevbD+aZd3BNh/Uan4FErHgk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iXoE6HyH3otyGl62Cp1qwrpVWOMepFjzTme9Igi15u8=; b=LutJcbSaZVZwU6hl0QAfeAEk2CHM2WfsO0p8DuW/pkbbOuUOyeXmJD9LOOkwYLHlAV ViDgpVcVoVmukP4BhU9zRGwF2efFOrmD8/L5+7mYw9igOc5TT3k9CU5iAJfhv7daTUsj fKb1htJz+BxrjP/cCmW/3hFCCD2VbsiGvZqvvOXiTmqzLANPlVZfEw7fFfbUXUTa23t/ i+HWUWdK/5PPZKw+YyccvL+i6wIaVfNII3tX8/lMkZu2JYJi78juFd0fGnToZr8JVo42 hZ/pflS6S1bbpIaa2MGIU2bQQIZivVkJ2Z97JdO2smYNjFyNQraV2ASU+Huo2o4vn2EP pxlg== X-Gm-Message-State: ABuFfojta0+CI53pQK5BQE/qFEMlYeQJGLwOKK83AT0YPnL0KRlS54Hs nTjzQ3cZr6bnfgseKe6QEw2ZXvY8Auc7EVfViy87Rw== X-Received: by 2002:ac8:435b:: with SMTP id a27-v6mr16120456qtn.295.1539613123629; Mon, 15 Oct 2018 07:18:43 -0700 (PDT) MIME-Version: 1.0 References: <20181008191411.32555-1-manivannan.sadhasivam@linaro.org> <20181008191411.32555-5-manivannan.sadhasivam@linaro.org> In-Reply-To: <20181008191411.32555-5-manivannan.sadhasivam@linaro.org> From: Linus Walleij Date: Mon, 15 Oct 2018 16:18:00 +0200 Message-ID: Subject: Re: [PATCH 4/5] pinctrl: mediatek: pinctrl-mtk-common-v2: Make eint_m u16 To: Manivannan Sadhasivam Cc: Sean Wang , Matthias Brugger , Rob Herring , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Linux ARM , "moderated list:ARM/Mediatek SoC support" , Amit Kucheria Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 8, 2018 at 9:14 PM Manivannan Sadhasivam wrote: > For SoC's which lacks EINT support, U16_MAX is assigned to both eint_m > and eint_n through macro NO_EINT_SUPPORT. This will generate integer > overflow warning because eint_m is declared as u8 type. Hence modify > the eint_m type to u16. > > Signed-off-by: Manivannan Sadhasivam Patch applied with Matthias' review tag, thanks! Yours, Linus Walleij