Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2193759rdb; Sun, 11 Feb 2024 16:36:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHnImwjPvyjxuocDRjpW0ptj8Caw+c4F6bIrBPHtmqj3ipWdB+sABYcrC+8nsy3ibDZ8QJ X-Received: by 2002:a05:6a20:9f06:b0:19e:a3da:7199 with SMTP id mk6-20020a056a209f0600b0019ea3da7199mr4040356pzb.57.1707698213129; Sun, 11 Feb 2024 16:36:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707698213; cv=pass; d=google.com; s=arc-20160816; b=QQvpzc3As1jS1wT5BrTU8ZC9tRtV1mHhU1y3njlPWEvhtkfXRltfDAQFzBdaF6bf2c 4pOiqpw1gq0u+dlOfKASktEL4z8PK0Rtu6+S6pm+3a9PDpso3l9ya0eMgBw0mL8aldbU kkb3bvZMGBLfHYs6CR6Lq9IqSO2qZ/dcobaxeZZblZrODQz/3rSZSooeZZw5j2v0J/05 Q5rRBFH3jWwWV5e7CGoCWQk3r9TVf+/dGKp69sBAQdFAY1PcgL5BF1xhvxMO1FGcm86k GC+Yl9knAJOxWU2Pubs1ZFi+LpUrne0uGyrTJTaBjd70xEGOWFWYEbNYsLa8gxkfUVhR zuMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=kxCWW4/t2o4u58TNsbaiigtWHWeIl8inY0YU8ADFLOA=; fh=uFFx0mkXoh0oiUZZJJU17WrpSH7r9vWYTZVJNmKw4LQ=; b=ZoTJ6JmeR4Tki1kv2elHXn36N9gCUqgvWWNu5mSS2CIwAkQiu4qOty6I2CI0R3Z2LP VcJ5KqipVlvD6UNyGmYCyp0YaGv+1e2cO9HjL0EOx4xBiTupxYVkj9Y7kwPyBo/W4CRN THXU9yShyx1N1DuRhL1P1YHl8eG6kUDuZK4ZxrY6M2SOv+1q24bR98EzU/kYhqo88G2S 42zqz1Jd2pCC8Kf7EwoGw3sAk8S1QaQDckUoUrsmSeF2qxks4r/8IihygyF/ZBOOKkEb N3lX+mjZvUTpDqyRNbYtqKrKfrVFf6gIUGK676vkBQUlyDYqdIr1O03ZsEakn9fXn1Hp xgRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uEf+bQOG; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-61033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=2; AJvYcCUOAHHrPasYSU3tzv5LfkL+pRLcCr4z/Xmk4rHJjDv4TFT5FEbZRVthnvgUUDmbiDe9PccJATu8jAo+jm4Tn+n1EdOmFpbWRWOjSPE4pA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x6-20020a170902a38600b001d7137acad4si5342284pla.273.2024.02.11.16.36.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 16:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uEf+bQOG; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-61033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AE6E7282120 for ; Mon, 12 Feb 2024 00:36:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CBE01396; Mon, 12 Feb 2024 00:36:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="uEf+bQOG" Received: from out-187.mta0.migadu.com (out-187.mta0.migadu.com [91.218.175.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60193A47 for ; Mon, 12 Feb 2024 00:36:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707698205; cv=none; b=MTfvycVOqX3E1Pa4XwwfwS23rHD+zE5spy5aijv/a/kOCq1b50FRNQuRde9+JxsrfVw4Fg1OZmBN2H7qDmNGJUk+ly4iDsKB7EAHuEQp9Lmx9S8/VYYIkJcKTnf5TQ+BalLRYhTEAJDSPej0jvbLrUSUVA/OsnQr1OuZJIBWeA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707698205; c=relaxed/simple; bh=g649aErR/2B0RxY+2/m+NkPBYwEtXoTNpmSXe9Zerqs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DzOqGdIkV9XJxgZdSnWRlaI0PcNOh0TPeX5XlmI42IkZWgCALvzV0za0ys6XCizUvm2fnuclErdGc4ZdRmUoMyS6H6F19YLyGfZivuMDkIe98wJ4+WBMI6m6jkclRMk4aRFXUtnztKNL0+vcfua0pR5gRwS3W4/vu5dGo0iLpQs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=uEf+bQOG; arc=none smtp.client-ip=91.218.175.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Sun, 11 Feb 2024 19:36:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707698200; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kxCWW4/t2o4u58TNsbaiigtWHWeIl8inY0YU8ADFLOA=; b=uEf+bQOGQH2hry9IKEdbIU1wp7u9xQ5M2nWnAPZtDcsVdc/5fhFaovF0JN4hukFASQ46e5 b7qLDRv9q6roKlfGZBkBsqL+3fzOC2pq54ZFLlhiBJoq/xjVr4kHiZAJMYUzomZJjYJX+w grPt2va8YBNlc3GwKZ0YlBFk2XNl1lU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Stephen Rothwell Cc: Christian Brauner , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the vfs-brauner tree Message-ID: References: <20240212105237.674e6fcb@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240212105237.674e6fcb@canb.auug.org.au> X-Migadu-Flow: FLOW_OUT On Mon, Feb 12, 2024 at 10:52:37AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the vfs-brauner tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from include/linux/highmem.h:5, > from include/linux/bvec.h:10, > from include/linux/blk_types.h:10, > from include/linux/blkdev.h:9, > from fs/btrfs/super.c:6: > include/linux/fs.h: In function 'super_set_sysfs_name_generic': > include/linux/fs.h:2597:9: error: function 'super_set_sysfs_name_generic' might be a candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format] > 2597 | vsnprintf(sb->s_sysfs_name, sizeof(sb->s_sysfs_name), fmt, args); > | ^~~~~~~~~ > cc1: all warnings being treated as errors > > and many more similar. > > Caused by commit > > eeea5d25d4a7 ("fs: add FS_IOC_GETFSSYSFSPATH") > > This new finction is not used anywhere, so just remove it for now? Let's not drop it; people adding support for other filesystems will probably want it. Here's a fixup patch: -- >8 -- From baf60243a686b0dca9236110491694bd03378063 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 11 Feb 2024 19:34:56 -0500 Subject: [PATCH] fixup! fs: FS_IOC_GETSYSFSPATH diff --git a/include/linux/fs.h b/include/linux/fs.h index fb003d9d05af..c6d9e1b7032c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2574,6 +2574,7 @@ static inline void super_set_sysfs_name_id(struct super_block *sb) } /* try to use something standard before you use this */ +__printf(2, 3) static inline void super_set_sysfs_name_generic(struct super_block *sb, const char *fmt, ...) { va_list args;