Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5110691ybe; Tue, 17 Sep 2019 02:48:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5vED/TSMLPrDBe0U2aFCOdYQuLsAZ/VRzjQ5UzO66iPyT4FMgrG46uMIFCCEaMWbKhmqz X-Received: by 2002:a50:cc4d:: with SMTP id n13mr3646528edi.5.1568713727006; Tue, 17 Sep 2019 02:48:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568713726; cv=none; d=google.com; s=arc-20160816; b=QomZ/6f7cGjiFW+CkFZHVFxkM7QUpAkNzcbPcVep7peDVPp3DG0ruhhkAvkU4eT9Xj lL0wzPzPoU5QCL1aO1iSXZRWshSmMQVnfV7A7ZCAnNg+DLDApEt0tgoUPbiB4iwc5W3E Q5ZiM/DDJw0iVCBa0QSiKjWThStmwnKkp4jRDkXGv2kspMr+ZnuqRriveij9+k0InD1u UggIiQ86bbPUDnHpy/L4cx1Zr52N7gbKAWWUQTR71x9q8j0Tz6BEBs65NqXb5KvJk/I7 lO8jdBkT2kPM6ek07fnDivmTz1Oy39dFEb+okxBb1rHEm1MzSjfwzpqLkXnsajoj/65f t8uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ooxyqxa7x/R7JS6kmUze9WDWeWOPEgPrBCXwkn2IMZI=; b=HXkX1nU9t/ZsDBdj7XN97L4MVQAcZKZsQBwNwsxRG57AJAuGBM66I6GvH1JuRQlF2E PdahdykRWTroJafYyHIfbgzHdcUsC0xhhYzCny0AogbxwAKOUoUrbd3+ncHcQyFdcvlj mkLZ+6YFMPFeFC2HL08iiUHbaGmlTkEHbtLGJllAe4hSfFaizUQBDKvyjSSmDbjQ/gA+ NdFcbWboid85BEXeG7zRu2fit8Ox1sRQlmh1m7Xrpg4k/JKNd5JGrWoZ788b/B9DIgmu xLRkVIcF0k1Y2inGbJG1WjX4K8SDK9JGSGmf1Em0p+3l+wdt3557Qp8tJ1VWRM6zlOLf 9obg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k8kgXk6m; 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 ns21si765088ejb.167.2019.09.17.02.48.23; Tue, 17 Sep 2019 02:48:46 -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=k8kgXk6m; 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 S1731564AbfIQIU5 (ORCPT + 99 others); Tue, 17 Sep 2019 04:20:57 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33639 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730456AbfIQIU4 (ORCPT ); Tue, 17 Sep 2019 04:20:56 -0400 Received: by mail-wr1-f66.google.com with SMTP id b9so2141770wrs.0 for ; Tue, 17 Sep 2019 01:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ooxyqxa7x/R7JS6kmUze9WDWeWOPEgPrBCXwkn2IMZI=; b=k8kgXk6miA9LFL04jUOPJRY9gQ0tvHTEeubW1Gws5kaXkJ9uy8FfzxgW1wKvcOkrcQ 2uo//SwUScyEFSdaBIFlyMErhInJgUuWLgZx06Qm+GsSsU+rHh2Fya1F+2HTDiEjy5pv du+41GKWsBTJX6yTbE7lMuB1jmqa8yv5xBhc6Y7B3DMxJA4JGs4HNS6hxLDerwuxEkTk RoBXGQsa7TOfUeHs6ULwDH1lG5B8cmkFze+cQkoMj/B2htQ44SGPfyfFAvY6EpNNFbYq neSA1Hbu5fP18ezd1CKEscgJe5gaPZP7yXNVhW2eHJHEkLr6fI7UsSwMhLjAbVQ0Gats 27wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ooxyqxa7x/R7JS6kmUze9WDWeWOPEgPrBCXwkn2IMZI=; b=Za3GXQNpu39USwoOMISpxWk+lv6y5at/hNLtgmNLXvGNLrWF3jPcf0SBXMo54HQdnc QCYx7YOC6fBhEpmu64wn+bCorY+RQdGir6buw9D+SfNO/tmfVbbngPIo5iuj8x7LKmGx n0jLAJJf+mvM5oXwzuLgGKdussYQ2l0zhR926wZxWXD1hOBVJ/uvbMIfFNGp/G+egmkO aP2LDiGELveqHiJm+wZh9+bGZgA07ItR8Dho+Oh+wBAKGfg1EKsjsWqsPN6CTp1b/ObE XUFXN50R1wJ5a2kaZ4kE+y3l7T2r9NieCH4C0KoUcZrkuJQ9DbQemtADl5BKdgJ9fAdA a8xQ== X-Gm-Message-State: APjAAAWWAGVFJKpVQI07wYjPNySxz7t21fBIOArh9oTJs+B2OmLc+Cd5 aeSNaIBHunosAJvDGNeuPZj29FR9xAk= X-Received: by 2002:a5d:5692:: with SMTP id f18mr1820298wrv.68.1568708454346; Tue, 17 Sep 2019 01:20:54 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id x6sm2016910wmf.38.2019.09.17.01.20.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Sep 2019 01:20:53 -0700 (PDT) Subject: Re: [PATCH] nvmem: core: fix nvmem_cell_write inline function To: Arnd Bergmann , Sebastian Reichel Cc: Sebastian Reichel , kbuild test robot , Han Nandor , "linux-kernel@vger.kernel.org" References: <20190908121038.6877-1-sre@kernel.org> From: Srinivas Kandagatla Message-ID: Date: Tue, 17 Sep 2019 09:20:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/09/2019 08:57, Arnd Bergmann wrote: > On Mon, Sep 9, 2019 at 3:45 PM Sebastian Reichel wrote: >> >> From: Sebastian Reichel >> >> nvmem_cell_write's buf argument uses different types based on >> the configuration of CONFIG_NVMEM. The function prototype for >> enabled NVMEM uses 'void *' type, but the static dummy function >> for disabled NVMEM uses 'const char *' instead. Fix the different >> behaviour by always expecting a 'void *' typed buf argument. >> >> Fixes: 7a78a7f7695b ("power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface") >> Reported-by: kbuild test robot >> Cc: Han Nandor >> Cc: Srinivas Kandagatla >> Cc: linux-kernel@vger.kernel.org >> Signed-off-by: Sebastian Reichel > > I still see the issue in linux-next, did this get dropped by accident? > I just pushed it to nvmem tree, should be fixed in next soon! --srini > Arnd >