Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5108252ybe; Tue, 17 Sep 2019 02:45:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxuezxsmBx86GsdDd1VZ2olSN3u+ZDP8DEuJnXqCEy29nqEv3burghiaNXmcnvOh+QerkM X-Received: by 2002:a17:906:d8c8:: with SMTP id re8mr3904351ejb.130.1568713545142; Tue, 17 Sep 2019 02:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568713545; cv=none; d=google.com; s=arc-20160816; b=zpF0JjrvhWnl8l5xFmNbe1Ka6qNPwWNHQZoC14XfErLBTlx5HUAuxyW4eCGiGrdNZZ BpQnB+qEEJlu4aAQYBnec9VUd27g6HeZ2zMGJhlnzK4GRY041h4v/O0aaJJ1TI+n+yNx MEdaUXWEmG1xs6krPqRzS+Bcdd+AoWTkwYaHNSvj3uv2xuQvpoqhQw6mORVUcBP+iby2 cRGZfj+vZlGnTxgAWvNz0qNpy3eFX0H24hIpqjPbfuYMVpRD9PxDMw0Uo/TbXGnAxpJR Qtta4H3i27+8A+UH95rUhJoiOftUCh8DaNZlFU2XDhxaU0EZXyzRVBrnB8BMiDZXplbn 0f9w== 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; bh=IUxRgSOM+RJMXGGjbBYzlx3MiAC/rsxDlK8JSS/iIDg=; b=vmUZrlbGa+/CJ9Zq6v5kNIaeZijbdNi7rovIxRdR5xnTRRBXA3RNxED3bxp1khkFnt PnDgPCSPMQQl9F302nk1dxqjhfNfCMDNX3vPaXdTt37tlWGHNJjgaeAE0XrL3b3/vGrW IC9IUWS08ceOWKO8wQSKK60tO/Wg67xeY9+W6BGgZbYFJfuATslKUyll+FmLZ3APOHds N4O0QbNPlYqJGZs4NOscNQHgknb2ummjqpOYTkPAPPr3eN5hH9wUgi2P3Lvo31NeaLUw 2usjezehUjTxRcIC9RiVMFWiT6R8KdZvqkvqjBQWaG/3m8AoiVXINX9EiCvyMJkcehgo HK2A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8si104831edm.158.2019.09.17.02.45.21; Tue, 17 Sep 2019 02:45:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404516AbfIQH5d (ORCPT + 99 others); Tue, 17 Sep 2019 03:57:33 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:46393 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729947AbfIQH5d (ORCPT ); Tue, 17 Sep 2019 03:57:33 -0400 Received: by mail-qt1-f195.google.com with SMTP id u22so3178461qtq.13 for ; Tue, 17 Sep 2019 00:57:32 -0700 (PDT) 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=IUxRgSOM+RJMXGGjbBYzlx3MiAC/rsxDlK8JSS/iIDg=; b=FXY49tp7J4YPRtYpkrH4L8WxLOEWjgqeGsZtNqqyLuK1bcB8iV9ghe/IQFL6HsC3Ab 2EszJ6LB/o7Owz40vQKxRD0xDE8kXVS5F/91JxwsOm1iWG0Y53tROV4yILTb9FKgzKIz OFerpqYGgMdrVYioQ1VYGTJxc82nEdXInILtCTIlgTEuRgsEeacculYRQ706qKYunNIz R7xUPdhf3MsGMB+2aO38lpSRvDLx4v0H8hZb6EX6IXtRR+up9L8suHirZWBMgNo+KyVu dhc/Hgl6OR+eFj5r/JRVY+hUhOMQtW/LvKQYJ/q1Mp63SuN8bQkvkOEUj1qkhjmzyO2c HeXg== X-Gm-Message-State: APjAAAVWlDLwNN379UEcn8dO8ZKa6et9ZFvNeRgJNBi7mA7fpBJgfnI5 98k51KChA0RWhqfpQY8WHlad3iDrbZdMRXFyKEs= X-Received: by 2002:aed:2842:: with SMTP id r60mr2342063qtd.142.1568707052075; Tue, 17 Sep 2019 00:57:32 -0700 (PDT) MIME-Version: 1.0 References: <20190908121038.6877-1-sre@kernel.org> In-Reply-To: <20190908121038.6877-1-sre@kernel.org> From: Arnd Bergmann Date: Tue, 17 Sep 2019 09:57:16 +0200 Message-ID: Subject: Re: [PATCH] nvmem: core: fix nvmem_cell_write inline function To: Sebastian Reichel Cc: Srinivas Kandagatla , Sebastian Reichel , kbuild test robot , Han Nandor , "linux-kernel@vger.kernel.org" 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, 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? Arnd