Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp255857rdh; Tue, 13 Feb 2024 16:26:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXUw5velbxmeIVwbrjQvc2WAZcqeIHTBiF9P0ldhvET0r/3wYLVZjD+imQNC6py17nOk2TOut/RyqNCz0chJsH6FcInR7plvUVluyt3Ng== X-Google-Smtp-Source: AGHT+IHElEWXnEO265Dwdwu2mLoqQ4Jxv/6Yf6QGCyxEOQPtNpMApHQKyLFo2S+DX5MbYQ07Mdqt X-Received: by 2002:a17:906:6d52:b0:a3d:3ea1:e6e1 with SMTP id a18-20020a1709066d5200b00a3d3ea1e6e1mr268303ejt.30.1707870379631; Tue, 13 Feb 2024 16:26:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707870379; cv=pass; d=google.com; s=arc-20160816; b=MkHHePgm3+779IuDbFXJ4xy6N8pKsMBL2DODdILFuVXaQFFeW465/0BxM1BixXdRNQ L74+3za5G0BpdFYReV3ghpw+9hKN7FZyY+fu6N4cG/kMcFNlHMKZCvgCKT8Rl67GNxwM vlCEFxhnIb2cl2RGwEVA9h5Mmusx2sv3NJLIJ+7JvMouRZTB3q1CFJjbmV5ZRF99MRSo VRS6axiO6Cd9pKfUQ2RRCesFOIiMNnhPVAHvWaGpKsLus/dYpXx3EnfyhI78ry5zMjcP RIBTvwh4nA39JEXbMYK60t0RZGPtEcfVHbtFtVXC3hT4Kmb1LfTtdwxjoVjVTNGJB5AO ifvw== 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:date:dkim-signature; bh=dE2UETRpvF16U4f37LAirje/SMvTyMmWDk49s8xZgAg=; fh=SgBBIb+fQRsxaGtXfCKpBe+18LAbY5vXDa3q4khH8zI=; b=TThIxyhkwZHPa8b+ftA4aFHONxEi4woAVUCjVoeQJWmWkWKEHvtTOSAG95R2sUyxvx QrhvbycdpZQUd8FSerDP/qk7fJ1kexGJFZfPDwFkj59DhWcz0S4o+OVTGE6JRQ7eUf8p jHG2m/6yR74NOG8jyse4/bF2Rza/DYJIBD6XAHYe6dsvYHPhFNH8ViWru0YhR1Pb0k68 cONKSFJyZ1Ycboe3DME1+9IYR8VGpUjK27z0Cqufi59Xu7+HA8BOUqjRXsL49RGdC63x 68B7UprrRgk+0dp14RY8WxVQmYp0/tUeCbFpwGP4SX7KFG3GZ187eIuNcgUf0q+j1sEG mirA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="DQR/6kvK"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-64602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64602-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=2; AJvYcCUrp6PVQ3zogkQ1pGqL1BUtwYMhkR7J1HsTG3OVXExptPV2UxbYwV+xAjtXF2LHGqDiRPBYx2Q/EfB7K04sPhhiWfASEfYyc4vwykzL2Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lf7-20020a170906ae4700b00a3d37a480adsi204309ejb.860.2024.02.13.16.26.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 16:26:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="DQR/6kvK"; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-64602-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64602-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D914C1F2513D for ; Wed, 14 Feb 2024 00:16:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D315410F2; Wed, 14 Feb 2024 00:16:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="DQR/6kvK" Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94CEC623 for ; Wed, 14 Feb 2024 00:16:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707869798; cv=none; b=Vrkbu4Me5/Ms7bWsyJx0pKUQRAoWciwLEOQ63tA60zzExKoHdCA/BHIJtCv4pXRpmb8wOZnNXL8JL7+iO4plyygG5Do4tP9RzdYFyjomAkvyLeAnn+rVWTLjTpHsmH2e8oxW/PKjdnTi3B6E3b80cOf4wR9tTCtfBuxjPbDU45Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707869798; c=relaxed/simple; bh=Jj2mI4+z893fkI7KcAWGdICx7F+XHBksLBKFmFLUy3A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=k0u0qtqp0LhJNZv+fWGrmI20jIU8iE6BbJDLspr/gmaLit7hskHy49cDiB5UpZm9REOx+ihwGK/YebuB2ky/+iXYWZYKW0MU0XMrF0PkhyhF/dMJU5yToHhGhe0qJDYKnCe6bbiBeuhbJg0saMU/FYfY8r6Ti7yOaIXAyNDs6qs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=DQR/6kvK; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6e0cd3bed29so1612720b3a.1 for ; Tue, 13 Feb 2024 16:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1707869796; x=1708474596; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=dE2UETRpvF16U4f37LAirje/SMvTyMmWDk49s8xZgAg=; b=DQR/6kvKRhG3VOKSsna9gIdKQwZ5q4nmS9eTt3+7pPuN5gBOV7mD7V9i8qDqKxvwGv YdUaj3H+7rDOGaQO5ngKJoTNC/eTyWwlPZdn4z83ahZ86d52OQ3+fQg0PDeOrRfx66CB U7WaxlRie7K50nqt4D7odNIzlCS9XdHds5BKY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707869796; x=1708474596; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dE2UETRpvF16U4f37LAirje/SMvTyMmWDk49s8xZgAg=; b=VK0IOV/Wl4FffB+tPsmZv8+ufr+A2p1hLfaR0KyORzDbHkRcmVHjFZPLjk7lusBCYX q5DXvLsi8di1p71M+3cLpWjSheLo72Yi/ihbmB8w9UU10jjSV7USLmvnJgVoSmG5HNhO uFjBpwbvMKVK4jRs0hQXq7ErBiGSvzHFOYemsAJRntkJdIBRtLUB0RN6ml7sFeuXyjnb 9lMwYH/odM/oOwHHyPjVzbE6OZ20TRRhagWHkmY0oMeC9TItWyrnwCqUiluavVFF9YtF TbaRIiO7nMrsOoqSLdrqEYjKluz/2S9h5nRhZh1xv0AdKw+kinXdatOy4/ypWAxfwhnm xTKA== X-Gm-Message-State: AOJu0YyAp0TOwVllbMDae6kC8Jp6SQgtJIZW/tDZ4WxUO0uk9m3nf97X S+iLdlG62JY59TVA8dGKnm35//mkbBwYeIbOwiwPhVzAyhj3QfGP2+/Zi9rsaQ== X-Received: by 2002:a05:6a21:3a82:b0:19c:b3ea:27ba with SMTP id zv2-20020a056a213a8200b0019cb3ea27bamr1504063pzb.52.1707869795891; Tue, 13 Feb 2024 16:16:35 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCW64+jpFz5kXUa2KhvOrCzbDEq5uznF5TpVCY2bOmO8UHb2gn6CiMR/L7UFPMxYd9IitCIRuFYuR7pbFjS5bGbXXcn8wstyaVxFXAZLO3FcpZ+l/4BJh4TZmt8k+x8DxT4Y0P0vOQ== Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id g15-20020a056a0023cf00b006e08f07f0d1sm8011934pfc.169.2024.02.13.16.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 16:16:35 -0800 (PST) Date: Tue, 13 Feb 2024 16:16:34 -0800 From: Kees Cook To: Stephen Rothwell , Kent Overstreet Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the bcachefs tree Message-ID: <202402131606.A70D5347F3@keescook> References: <20240212105456.65194f29@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: <20240212105456.65194f29@canb.auug.org.au> On Mon, Feb 12, 2024 at 10:54:56AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the bcachefs tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > ERROR: modpost: missing MODULE_LICENSE() in lib/thread_with_file.o > ERROR: modpost: "stdio_redirect_vprintf" [fs/bcachefs/bcachefs.ko] undefined! > ERROR: modpost: "thread_with_file_exit" [fs/bcachefs/bcachefs.ko] undefined! > ERROR: modpost: "run_thread_with_stdio" [fs/bcachefs/bcachefs.ko] undefined! > ERROR: modpost: "__darray_resize_slowpath" [fs/bcachefs/bcachefs.ko] undefined! > ERROR: modpost: "stdio_redirect_readline" [fs/bcachefs/bcachefs.ko] undefined! > ERROR: modpost: "run_thread_with_file" [fs/bcachefs/bcachefs.ko] undefined! > ERROR: modpost: "__darray_resize_slowpath" [lib/thread_with_file.ko] undefined! > > Caused by commit > > f894f9e5f0ad ("thread_with_file: Lift from bcachefs") > > I have used the version of bcachefs from next-20240206 again. I've mentioned this before, but this patch (and I assume others) was not posted to any mailing list before it appeared in -next. This process failure really needs to be fixed. Please post _everything_ going into your tree to at least linux-bcachefs mailing list, and for things that toss stuff into lib/ it really needs to go to lkml too and CCed to some subset of people who have touched lib/Kconfig, etc last. And, as mentioned before, checkpatch.pl absolutely screams about this commit. Lots of code style issues (unnamed arguments in declarations, variables defined in the middle of function bodies, etc). Please adjust these things so it's easier for other maintainers to work with and on this code. :) -Kees -- Kees Cook