Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1319516ybl; Sat, 10 Aug 2019 01:15:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuMsVTY+O5RvFPp8G56PTGE2BDCr20UHGkfBwmCZ/U8ggLzu4uVVnBwBy5CkclDK9VNVvb X-Received: by 2002:a63:8a43:: with SMTP id y64mr21139943pgd.104.1565424950547; Sat, 10 Aug 2019 01:15:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565424950; cv=none; d=google.com; s=arc-20160816; b=TaIrtz7l74/0ewvEZYFbz6giz4AFDrxyhvv9mYcFoEuTRwsHaQaUb75ax4lWWkAvgR sl3DSbUK8HjSx2/vcrV3Ofz11AcC6JGfxNrspQfVSlISpx44uHvlHJujoiB7EHisXjHW Eh39wxxqrEhG+nP0Efx5e8XKGXqe6fldVCUStX+dvcmHGZx8CLh+0X9IeKtR/FQDYhTD +pIAhELVE/ji3k0j7ZG1QwYO1sngnfTTfAGmGFziknPZ4+jyCHm67bBt4XwtYqpf7wKG 11rXUSiYDbkwxH/3LEUMVohVnsg9126NtedpF2duRrkPPc7nyZ4XOMSgKo9UFmY1tuNw uCMg== 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=oqsU2heLXHHBs96Q5jI1j5tMoKsUDIBVmfyGumKZ6LM=; b=VIz6wWm3ScCRDju1y+xMgONc5Bs0/LV0P92YWnFXNwwaAl+AazSoZCATojBtiNes2j tXUTV9AxlZ8T/AegoKOXh8DYab6kLtT2625RJHiy2LxQ2FhyKsoYM8h2/2/QY6Pfh1Ct 3QPTxKj7V1R+eZZtx23reOijzKKTBjv034zBavX3gAceTOeAdNHGZk38dmBphYf7+heT Qq2K5gaLH5972zvv8KBRT9ls5YDyGie0rP+Z5NmHzN/kA8sj66KHqSS2Q2hW+CAcrFE6 EeARPhCjH0Ju493syCHQIoRJuQ+b/2hGXwOkeFEU69wzJ/LwGhSk3Wn2w/WMxol3KfW2 Hr3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VnJxbftI; 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 s13si18872963pgn.123.2019.08.10.01.15.32; Sat, 10 Aug 2019 01:15:50 -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=VnJxbftI; 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 S1726055AbfHJINM (ORCPT + 99 others); Sat, 10 Aug 2019 04:13:12 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:43745 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbfHJINM (ORCPT ); Sat, 10 Aug 2019 04:13:12 -0400 Received: by mail-lj1-f194.google.com with SMTP id h15so452989ljg.10 for ; Sat, 10 Aug 2019 01:13:10 -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=oqsU2heLXHHBs96Q5jI1j5tMoKsUDIBVmfyGumKZ6LM=; b=VnJxbftIzPrqH4FoIz+w63T9HvLAwPyuIAzFqmtEtWAsLj/01rK86PGFGuGpSqWYv+ EOc3pJBX5N72NrROGYfkzRIEBM/NZHAtlunaj25jmAa22WMIK6W8WaeA6NQrcRQ890ve gTKEzqoNeorIPkcAkbULvIA82MectHdfWgQVc2tti+zAedXKseEDZCsXl4IK+jsWOZyk R7BDcza0vJn1D+S49B4cTvaTLZpzO5Zji8UHdpqukz0sSpuhB6HNFG8n8zxgS0EkyZrb 5PC++TGzLIxcQd3/xU9h8T2WbaloLuBlyrUH/bwdms17HdBtBey1e6TEAlNNF3mOqFH5 GZ8w== 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=oqsU2heLXHHBs96Q5jI1j5tMoKsUDIBVmfyGumKZ6LM=; b=kYrbgK5Xk5EEYNSx2wRBBDmf1jcl95t5pUZnWyz81+zPYGnQsuQQiKkz62TTAXOdHX GjjY+OX465dvJIYnP23eCLu8mV9C+W/GeNz8OH1Bo4rk6QGr6o2/aumyz4k/LPBiOD+g aPiGFAwroYRAr9uNfOZ4TkU6nhicm7QXwWURGq5ZV+l+nOVat3eLX39M5ZrkYEwPuDIX KERa/iWxJ9YPa4B32+g0GABMTIPoqLRP07/xsf9O+ME7LM5ZsXcubh2ujb1MSF/U8gfo BaxS1gmUhx41DtjvjzuiO1es+EGHZyvSFuA2uwrTmyYhhTXul24pIw6BN5BMVth2qO8i 4urQ== X-Gm-Message-State: APjAAAXgikboysAkh+wxATyCBjb0PihIkwBn74DHf3d/tGLcuHzvwbgq Y3UiGIKGyMt6bJQifYcfb37yx2Ojqwvx2/rZk8LBaQ== X-Received: by 2002:a2e:8756:: with SMTP id q22mr13818205ljj.108.1565424790000; Sat, 10 Aug 2019 01:13:10 -0700 (PDT) MIME-Version: 1.0 References: <20190807003037.48457-1-natechancellor@gmail.com> In-Reply-To: <20190807003037.48457-1-natechancellor@gmail.com> From: Linus Walleij Date: Sat, 10 Aug 2019 10:12:57 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: aspeed: g6: Remove const specifier from aspeed_g6_sig_expr_set's ctx parameter To: Nathan Chancellor Cc: Andrew Jeffery , Joel Stanley , linux-aspeed , OpenBMC Maillist , "open list:GPIO SUBSYSTEM" , Linux ARM , "linux-kernel@vger.kernel.org" , clang-built-linux@googlegroups.com 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 Wed, Aug 7, 2019 at 2:32 AM Nathan Chancellor wrote: > clang errors: > > drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c:2325:9: error: incompatible > pointer types initializing 'int (*)(struct aspeed_pinmux_data *, const > struct aspeed_sig_expr *, bool)' with an expression of type 'int (const > struct aspeed_pinmux_data *, const struct aspeed_sig_expr *, bool)' > [-Werror,-Wincompatible-pointer-types] > .set = aspeed_g6_sig_expr_set, > ^~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > > Commit 674fa8daa8c9 ("pinctrl: aspeed-g5: Delay acquisition of regmaps") > changed the set function pointer declaration and the g6 one wasn't > updated (I assume because it wasn't merged yet). > > Fixes: 2eda1cdec49f ("pinctrl: aspeed: Add AST2600 pinmux support") > Link: https://github.com/ClangBuiltLinux/linux/issues/632 > Signed-off-by: Nathan Chancellor Patch applied with Andrew's ACK. Yours, Linus Walleij