Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3916507imm; Mon, 4 Jun 2018 11:23:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI8GYN29zOrZjueJdfC+A/7CbJ73o2ft39U43qLyCzqPwNguWEIIf4NnwKSsfab/40idIbq X-Received: by 2002:a62:b2c4:: with SMTP id z65-v6mr18890315pfl.21.1528136636115; Mon, 04 Jun 2018 11:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528136636; cv=none; d=google.com; s=arc-20160816; b=bhqFv1621TCXGrB9hNZkI5DWBmns30Kbjkaty6LGQpG2Y85H6mjE+wtEdHN01yd7QR bA3liThKH9lj3TO27xeFVV7LHqKVKKJW806jRqJMqi66MRB1eum6V6ydVmnDijsZcFHF f9GSnpkf8z4NKrHMrw6lGpnTkx6Wx+sqGE63VjW3Ayhj7tA7Im7Rhcsy4IuJV6oBmxyW ycaAIoWw+deEHGRqgdtxKrHZha4wT8JiSp5Fg5TFc/VhJND/awuNYe4xhIekov8jE0ve gwkEsDvAiu7dEX8ovCzgUzmJ3bWV6EQy0ZnaHEsDcV8VOdTKebljpDRCYnIJHfclPCis /t+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=VjC9O+8TY//UZrKkN0VKpFzhOmR6SidIfbgosmrsODY=; b=Pe2xOJaMWOYLHerkrW7Xxlwq8yEhCyRAoi1fwrlbY0OEhFEkaauwjPN0VoxmEdIj1I rA9z+bWSYbtpOKJMGsTSFKDlEOVsXfpTcFzPPpGpeDnvfvoziPNLnCffGqNxFxWzmhtw R7d+/xZY7rJ//4R50tGZZZXVq4jxQOqmhNIqDLzVyBnT3ivbxQz6IRQCaVYDlPekCTCz 4IDI2C5pyugona/fNTY1OQnJ8tLNSm8dZ/UtpZ5HkHlrZL/M3CuDqenuQ93TgFZxBimU rcazuREgHlUfWg3TU+PTBJR47X9HVPNN/c2vg4x1Hkj/DJHl667g5SB7MBA62YaE6vV0 AG/Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d14-v6si18052518plr.244.2018.06.04.11.23.41; Mon, 04 Jun 2018 11:23:56 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751338AbeFDSXC (ORCPT + 99 others); Mon, 4 Jun 2018 14:23:02 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42366 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751015AbeFDSXB (ORCPT ); Mon, 4 Jun 2018 14:23:01 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CD8C768819; Mon, 4 Jun 2018 18:23:00 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 63B442026DEF; Mon, 4 Jun 2018 18:23:00 +0000 (UTC) Date: Mon, 4 Jun 2018 14:22:59 -0400 From: Mike Snitzer To: Randy Dunlap , Steven Rostedt , Ingo Molnar , Arnd Bergmann Cc: Stephen Rothwell , Linux-Next Mailing List , dm-devel@redhat.com, Linux Kernel Mailing List Subject: Re: linux-next: Tree for Jun 4 (md/dm-writecache.c) Message-ID: <20180604182259.GA5440@redhat.com> References: <20180604215911.75399f6e@canb.auug.org.au> <0e3fa62d-727e-ccb8-53ae-a6aaa6c506e2@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0e3fa62d-727e-ccb8-53ae-a6aaa6c506e2@infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Mon, 04 Jun 2018 18:23:00 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Mon, 04 Jun 2018 18:23:00 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'msnitzer@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). Mike