Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1232487pxu; Wed, 6 Jan 2021 16:44:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0A1snWUv6DKZlKPRAkB0yDKqmR9bScxeSXUal6mNgedG0J1QCZ7exvx+8cCn10fPe8EhD X-Received: by 2002:a17:906:f9da:: with SMTP id lj26mr4382838ejb.467.1609980297529; Wed, 06 Jan 2021 16:44:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609980297; cv=none; d=google.com; s=arc-20160816; b=r7Cjtqtgf1A0KscKsx7grYYrRbplrjfLrQCgVXEzFEh9iuA9IfiYBWWEdeEYsBHKOk 0HAB6XY7N/B2RW2vZJ1tkxkUPvCfKyIqb56EwdI31uv81GkLorSBY3AsdBKf90sPyaMx aFT6gK2ONr540uU0nSmdyG+v+FwmM0MUlhmhhgKwHVoWj59R3A0DpzFja5DhUE4XJ8tE 121lzVSIBoVAiV1C5EKUHJQvydvO898pAovG8CgQOwyzYEbi+uXcMy9SVqCDKEuGrdrJ GhFpHOkAO4qpgIfm3Ndu78v+oqKDvv5wWEHxwmPU8thA/TkvgIFRG6uWFOSxKZ/ksMwo DzUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=u+niy+/O2tFzXnTi2YO0z52UDIKaHiLjG2lVPvNb5aA=; b=Ysp9r1AxzQ/STxYh95BruXlClLEfzvJ8cOQDZv9+WJoPjvyHsX2qlL5LjDd9koS5oo OVTQA/KWyhMBDuLnaxEu2NY7y6Aqre5Jew5hadrQfZjwVbWv7Df8xZm0PECT+MxcP+6V i7GFNnhmnOTShITm+rrhkk3zdjiX8myVHo01suMgZ/o/PXrzTjl0X2NXGtmGU9X5RBKk 35OD4IMNwWQnu99v0m8xfwXfM1Zd5QIf3YtGqpgOjVPJ+DpXRYtFJuffEuDWfGFtJGoj zaOselfGZYAsaPsnAoZBGNM4EEkpYxxP7UvkG6/nu5RiFxi4EVzxJUiLFIhJ9eri43jf YhQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si1541578ejn.166.2021.01.06.16.44.33; Wed, 06 Jan 2021 16:44:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726330AbhAGAk4 (ORCPT + 99 others); Wed, 6 Jan 2021 19:40:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbhAGAkz (ORCPT ); Wed, 6 Jan 2021 19:40:55 -0500 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CC33C061370; Wed, 6 Jan 2021 16:40:15 -0800 (PST) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxJLS-007arZ-RK; Thu, 07 Jan 2021 00:40:06 +0000 Date: Thu, 7 Jan 2021 00:40:06 +0000 From: Al Viro To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the vfs tree Message-ID: <20210107004006.GF3579531@ZenIV.linux.org.uk> References: <20210107101544.68bdd395@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210107101544.68bdd395@canb.auug.org.au> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 07, 2021 at 10:15:44AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the vfs tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > In file included from fs/erofs/xattr.h:10, > from fs/erofs/namei.c:7: > fs/erofs/namei.c: In function 'erofs_lookup': > fs/erofs/internal.h:23:21: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'struct dentry *' [-Wformat=] > 23 | #define pr_fmt(fmt) "erofs: " fmt > | ^~~~~~~~~ > include/linux/dynamic_debug.h:129:15: note: in expansion of macro 'pr_fmt' > 129 | func(&id, ##__VA_ARGS__); \ > | ^~~~~~~~~~~ > include/linux/dynamic_debug.h:147:2: note: in expansion of macro '__dynamic_func_call' > 147 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) > | ^~~~~~~~~~~~~~~~~~~ > include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' > 157 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ > | ^~~~~~~~~~~~~~~~~~ > include/linux/printk.h:424:2: note: in expansion of macro 'dynamic_pr_debug' > 424 | dynamic_pr_debug(fmt, ##__VA_ARGS__) > | ^~~~~~~~~~~~~~~~ > fs/erofs/internal.h:34:33: note: in expansion of macro 'pr_debug' > 34 | #define erofs_dbg(x, ...) pr_debug(x "\n", ##__VA_ARGS__) > | ^~~~~~~~ > fs/erofs/namei.c:237:3: note: in expansion of macro 'erofs_dbg' > 237 | erofs_dbg("%pd, %s (nid %llu) found, d_type %u", __func__, > | ^~~~~~~~~ > > Introduced by commit > > 879d4376533c ("erofs: use %pd instead of messing with ->d_name") Gyah... "%s, %pd", not "%pd, %s". Sorry, fixed and pushed.