Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3921588imm; Mon, 4 Jun 2018 11:29:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKomZCXZ7kMgx2RHf1d7jHC475qRktFSCeBrBEBGQYnuNy+XSUjYmX4Z6Ee9hSw6zkuQ+tW X-Received: by 2002:a17:902:7105:: with SMTP id a5-v6mr23478708pll.171.1528136999848; Mon, 04 Jun 2018 11:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528136999; cv=none; d=google.com; s=arc-20160816; b=mlo/24c/qYf3AOSSxHJwBWQx08LbaWGE4DF4b7AdzOfak1ZwgKhryNOFuNIQkVG1PA vPF20Xjpui/Z1b7jfjX8ObP6QYmQUaM98qzYV0/wsh/ZRmfaVAfrT9zBGpzjuK/BDhGf sQwghEVnD243bJI0z+rRDrkVw0PCO6XgojCXqZHC7jg/qbrv78vPdruTFiGleJRqLWAw vOAGd0xiYhNZLGeUSvpUWJ8tPIeD3IBF9gaTooKvWjdbffOv3vNk+2PUpw0KNh2jQtVD 4w9AeS1q4pOLN/kGBizN5p0BGyl0H8GjVWyAhs5Fj2r8I0IzUcJcG7R+K4WWjIyOqoQR M0aw== 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 :arc-authentication-results; bh=4qGzke8q39zIJ23y0uxk4Ls4cv4ALTzSbq/pWvDabN0=; b=aG0CiyQnGq8ZrKJuY6X9sPTAdIf6OzxVax0QYzGQrT6i5+AvaehemU1yKXuRdK9dqm Ut0M719y94M2MEtSJ9wBnae4jh+aEYYJTXv2ArWEdRFe2wN9uOaKvp54sW7NSWZGYf4c ACFBjZRz78jWjxJCS7NhZT3VTa1lz0j6zv0W+4YO0yFktIhtGFlQOKGEuJxP/bRKWoUF kOiXSvmci1l/4YJCNhcaV+/8YUOccyPpdukAtAeyZ3vsW2pr8fSFBmbkvCYPqsvIrwlH cR+wfGxgOIqMI0++NLDft1oVjlFdV/92HF10KHTzuU3i9x2Qrjb/A18lcyNgH5KL6lp/ VlKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Njh2Z+Hm; 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 v31-v6si27981119plg.339.2018.06.04.11.29.45; Mon, 04 Jun 2018 11:29:59 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Njh2Z+Hm; 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 S1751341AbeFDS2G (ORCPT + 99 others); Mon, 4 Jun 2018 14:28:06 -0400 Received: from merlin.infradead.org ([205.233.59.134]:48116 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750915AbeFDS2E (ORCPT ); Mon, 4 Jun 2018 14:28:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4qGzke8q39zIJ23y0uxk4Ls4cv4ALTzSbq/pWvDabN0=; b=Njh2Z+HmvttT6btoSlBa/ioKKh qoHyjTQ++FvD7POXJbQi40DptvNlL1WSRhGygsRO9sQD/TO/ahK8trY5JPbTfaQwZmlMxTq3BqlO/ Lch4xQdKvnDyKuyhOd2XzLlQgidAEPnoWtdERLDjO4+1KF8NThOq+K7LQr/1y3lsnIABcyo9qIgpr 12daO2J4P3VSFrBTT0xutYniF5s4swIyxwNJpSVnXfp76GAbra5puIgR+dLfFw1ok00ENf6u/r59z NUP5KzagRQn0D2wOI8sYajBuFItIgZj+cHbI/RuK0T8RQf1zjxFXigYpvrxFB7cgvU7l9Q5vOh7Y9 Y+NDnZdg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fPuD2-0008BH-Ha; Mon, 04 Jun 2018 18:28:00 +0000 Subject: Re: linux-next: Tree for Jun 4 (md/dm-writecache.c) To: Mike Snitzer , Steven Rostedt , Ingo Molnar , Arnd Bergmann Cc: Stephen Rothwell , Linux-Next Mailing List , dm-devel@redhat.com, Linux Kernel Mailing List References: <20180604215911.75399f6e@canb.auug.org.au> <0e3fa62d-727e-ccb8-53ae-a6aaa6c506e2@infradead.org> <20180604182259.GA5440@redhat.com> From: Randy Dunlap Message-ID: <7b566935-a03d-ecab-be2a-10e25e4554f6@infradead.org> Date: Mon, 4 Jun 2018 11:27:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180604182259.GA5440@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/04/2018 11:22 AM, Mike Snitzer wrote: > On Mon, Jun 04 2018 at 12:06pm -0400, > Randy Dunlap wrote: > >> On 06/04/2018 04:59 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20180601: >>> >> >> on x86_64: >> >> In file included from ../drivers/md/dm-writecache.c:8:0: >> ../drivers/md/dm-writecache.c: In function ‘writecache_status’: >> ../include/linux/compiler.h:61:17: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=] >> static struct ftrace_branch_data \ >> ^ >> ../include/linux/device-mapper.h:550:46: note: in definition of macro ‘DMEMIT’ >> 0 : scnprintf(result + sz, maxlen - sz, x)) >> ^ >> ../include/linux/compiler.h:48:24: note: in expansion of macro ‘__branch_check__’ >> # define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x))) >> ^ >> ../drivers/md/dm-writecache.c:414:35: note: in expansion of macro ‘unlikely’ >> #define writecache_has_error(wc) (unlikely(READ_ONCE((wc)->error))) >> ^ >> ../include/linux/compiler.h:56:23: note: in expansion of macro ‘__trace_if’ >> #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) >> ^ >> ../include/linux/compiler.h:251:2: note: in expansion of macro ‘if’ >> if (check) \ >> ^ >> ../include/linux/compiler.h:258:22: note: in expansion of macro ‘__READ_ONCE’ >> #define READ_ONCE(x) __READ_ONCE(x, 1) >> ^ >> ../drivers/md/dm-writecache.c:414:44: note: in expansion of macro ‘READ_ONCE’ >> #define writecache_has_error(wc) (unlikely(READ_ONCE((wc)->error))) >> ^ >> ../drivers/md/dm-writecache.c:2196:32: note: in expansion of macro ‘writecache_has_error’ >> DMEMIT("%ld %llu %llu %llu", writecache_has_error(wc), >> ^ >> >> s/%ld/%d/ > > AFAICT, this is the correct fix: > https://patchwork.kernel.org/patch/10438865/ > > Not seen any response to it (Steven and Ingo were emailed, Arnd and LKML > were cc'd). Yes, thanks. That looks good. -- ~Randy