Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2093043lqo; Mon, 13 May 2024 07:44:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+LEdLWOYYjM4NQCeCFTnzRgfVy1KWc+AtuIoZJjvaRPoIid8201KhhkZZnE3zURCZg2bdaO/FqyRzr6PDzOZDdonLTGB6p31KGqf91g== X-Google-Smtp-Source: AGHT+IFtcACZrYr3NuG4oQxPKq2ZLodu9Z3lTULsagQoZBt9or74NxuPWOyQxNtBgCnMetjpQ1YM X-Received: by 2002:a17:902:cf10:b0:1e2:ae83:3197 with SMTP id d9443c01a7336-1ef43d155a4mr115934285ad.10.1715611458758; Mon, 13 May 2024 07:44:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715611458; cv=pass; d=google.com; s=arc-20160816; b=ftS6pJRzPC7QMvGGEe/mM1Hc5g4eH0+aova9uHz+DFnpCXyiKI1CKITC6EbOwZpiBv 43ZVAhiv4824Tzalmxewlmewy2D8J+8+ClrxEeUmzJujthoAZqcLDe42jy5p0uNE1+rm J3cht/Pww4mlC4APg/+dy7lXbJvss9IX7/G3eNl3+SLpA+7mfo3ZEJYbrGkHuZR1zo3w l6eKaw3XzjadkO9RCB47BBpoKIgcrwe5ZvP9LkO/KtDb3wdzTZtM6yqpDhz8KzXU4pPc 9YUc8Lo9PPrTjX+bEcaOrUPtIhlYuz6kZzCTqMay63SsGf9KAE8LQy3EhCChigcsUv+S npCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=kH8VxieNuK/mWqjjJORakpkGgPM6QeSfE7ojbqY1Xnc=; fh=h/VJP6Qw1sT+Y4AWZvvAGgohJDNg7fRwwKPdFYAnACs=; b=NQwMfDUa3b4hckdzm4bwTNhXdsmUa4hLuOqwM1vstLk6oTuOqMOxtCTeVqlm2n0GuE V5BpWCjUwsdPPrhJ6w+ZdoHREs3lkPsX/AmCeyQIzgXaeT/9XkN/qyTFHDMw+ZmidLUW Iezidmv9VBxCtM9AhNg+CFiSTw+SarDDLFznyjgpFLNAp0mO4BGLW9l9uNPcWv2M6DKo +oP19U9lwYp057LfN8t9cD0or216hXsdu2wgjMTEw61Cmhc28IVuS1ifXlKu44KMEGLY /Qj/Z9l2TkmrLShKJOkw+l9GeKVQXwMJ2ZjScVId9Owgs8NUDjt82G7khaMS0mHJ18JP r35A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RjNtxRg7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177704-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c26936dsi99280355ad.570.2024.05.13.07.44.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:44:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177704-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RjNtxRg7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177704-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 4CD49284A73 for ; Mon, 13 May 2024 14:44:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A437B211C; Mon, 13 May 2024 14:44:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RjNtxRg7" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.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 5818B17F0 for ; Mon, 13 May 2024 14:44:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715611451; cv=none; b=CzXhjDfBtQWsgIP/MYcXMOuNiZ68sLBOryI/OokKINejAeWMiBMxWlQPd0bRWj7X1kryYXLVWXfhlgxDwCUV4u99zQPUkpm6pt5FmKWJ+qRGBid3OspOIFzZ3drRiR1pgciye03rejoKgFwmH1TzvAQP/oz8eyoCqzs0kCEtNl4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715611451; c=relaxed/simple; bh=vqC3nufKybZg0EJC3umC+jC8RfCqyKOEVd5EqSlUbJQ=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=DC/zmBEB38ENmvJbDBPAccN9igGErsasYzhIgX8Ym46Q2IDh4+lMVKJipakjxul2/WMe9vFebyb7GXjltxHbHTgCLE6EVCNHHoiPa7Tr2jG5vbC+vK2ERQYnbBsJMJI/YyzsbX8lI+xUMXp7wHekPcKiyv84/0oj1eNWjZyfLu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=RjNtxRg7; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2e538a264e0so44623331fa.1 for ; Mon, 13 May 2024 07:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715611448; x=1716216248; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kH8VxieNuK/mWqjjJORakpkGgPM6QeSfE7ojbqY1Xnc=; b=RjNtxRg7YPc9FurnXjMSso5dwHH5d9aFcDN5VrQdx0lcIy6kyTcgQjyEkzMLo5bdAs WZr0KZD2DIXvK7jEFw8ItgMiNg44+9eOQSnVfl06f6ua3kI3Z9H/2tOlVtpkObgwTQij t4eDkKefcphDLO9XjDdDY+HCM/H1nkEuYz9C7pZqpGlXRn+/FI+GbjWsyMYHhUV+GsW5 +h0/PzqEnfUDvVOxHvasR5orr3cZG2/HhFESNQL82tWTyWgEevvtMbtDqPrD7JRc/HBp +oBYAMsGvrPpd8Sh+wyf0FVP4zTykC4+VXrxLHmQeMZO/tGB6dlFERBRoZEy0JalUeGq xXlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715611448; x=1716216248; h=content-transfer-encoding:cc:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kH8VxieNuK/mWqjjJORakpkGgPM6QeSfE7ojbqY1Xnc=; b=R88t/0VBVr5bBZQFdSrSB7CZcOIMUdeVliGrzDqfMlxT4sj+NVfGo0CqIvAUuk0g07 T1qtLnhoLOkDZcooYzCsDrYjmcHBS1av61j/zvvxVQkOq4S+p9qGmZ9bj/VWDZ13lgv2 aXhxB1ACMYns5Pfj9fd28Vh6e5ufT/4CCW3glOxWd3lgXo1hfuH8LLaUB3bcc+u1aT2l vLToRZmq78gqN8CMe1SrCzSvlaeNW0S/GvX+1QM8CoJ2iRzKSOHLir26y8Q3lz+Mdf7A +zrrzLilgaCewmSnYLOAL7JKNwetQTQ/Sx/LXCXJPU5nhDN9CxyhVK/VZ8G3g8Z4zA0f 4EVw== X-Gm-Message-State: AOJu0YwAOpazkVXyfkjkaJDziTMjeZZ0Exl++wuSNx5c+zF+XPTLp207 kSJIJSS46QXzFpqLyS9I7c8/kGEb2Dnrbtfmgcc1/X0TWaAOX2hwyoH4KbGN4QKX/DpboqgdGdi xguSXagA+QALu+g3vqvQ3XB5Dw+A= X-Received: by 2002:a2e:859:0:b0:2e5:4171:1808 with SMTP id 38308e7fff4ca-2e541711898mr69328121fa.51.1715611448280; Mon, 13 May 2024 07:44:08 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Stephen Langstaff Date: Mon, 13 May 2024 15:43:57 +0100 Message-ID: Subject: drivers/net/dsa/dsa_loop_bdinfo.c build problems To: andrew@lunn.ch, f.fainelli@gmain.com, olteanv@gmain.com Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi there. I have come across an issue in the Linux kernel (6.8.7 and others) and wondered whether I am doing something wrong? In trying to test the dsa_loop module, I have found that the dsa_loop_bdinfo module is not built when the following combination of configuration items is set: CONFIG_NET_DSA=3Dy CONFIG_NET_DSA_LOOP=3Dm CONFIG_FIXED_PHY=3Dy This combination can easily be obtained using make menuconfig. It seems that driver/net/Makefile=E2=80=99s inclusion of the dsa directory = as an obj-m precludes the building of dsa_loop_bdinfo.c (which is an obj-y): driver/net/Makefile: =E2=80=A6 obj-$(CONFIG_NET_DSA) +=3D dsa/ =E2=80=A6 driver/net/dsa/Makefile: =E2=80=A6 ifdef CONFIG_NET_DSA_LOOP obj-$(CONFIG_FIXED_PHY) +=3D dsa_loop_bdinfo.o endif =E2=80=A6