Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3088448rdb; Wed, 13 Sep 2023 01:19:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhX2ekdEh6PZqy2fGiQ370+Ri6dq/ag35B0oH6lk4HDVOpLM3pnbGVrq7bXxYoYlRST9gp X-Received: by 2002:a17:90a:f60b:b0:268:ac99:4bb4 with SMTP id bw11-20020a17090af60b00b00268ac994bb4mr1569828pjb.46.1694593173690; Wed, 13 Sep 2023 01:19:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694593173; cv=none; d=google.com; s=arc-20160816; b=wPufnaij2uG716XqNPhr8iljyRxkpjl5kUh4qeOBvoUlQjTcjJ5iTrtHafzI0yxKNC 8UcVS2HX9gyrn1EZgtq0/lPGjJhkLPx8mUuxoJz/2109cc5A1qgHLeoc2H13NCeqe8DK 2xAfPK0mtXeSX7FztQUc9CnWG85c0Pk1/zhtlvxul6IdQCp45yPz/TrdL1qICa0mkuiL IjfXfTELtsGdPScimWHVF7YZvSfNW/vWHUOCMODRUJMn6bHJ9gYnZ9/wxoUWk7EERI/D 8hU+xMUXXQgPHyPF0dO7pflwXJSbcq1UVYEwvF3YGoIh33y+nWfWhtlwWOs5bXpuROIX QZAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EkdGZYQrwA4ll/7xTuDvjPfd4MTlNtu+sDVCgPZq2hM=; fh=wxJyd1Td6qlfo6kSqTwtwE5rLwKG8MO9Xa+MCJ6ZidE=; b=sIgXPFzhvzCNxXLFzTg+N8myXnsI5c2+H8WYtM3h8LSfqRU/sak+PnrV/3X6s8oUwo kytArsxMduzRMjYR9YAYIoVrwWZrQItpk5fZTQ192SyW7FLXIh4VyESKaUFO/sa/oQ7y BW/qtLU+JTzkcq4QfU4Ssmdir8LyKHXDRKWgjVUdx8Znhko+yCQrurqliYkCkZpZewCg MSANGDZr+0CeGBXXWiLhiVLQjA7XPt/zFnHx4sH8szuR33iPkat8uGhJSMf9gBWtx9rT rnpSjFzdthodb2uGVnmL0+WXBFHovcVSk5RUYDu5ok7Hi17lJtW8TyhUdZ4V4YyI5xJN thkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=fDj6Pg+Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id il8-20020a17090b164800b0027199f1bdbesi1190294pjb.165.2023.09.13.01.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 01:19:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=fDj6Pg+Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id AB94F8226F74; Wed, 13 Sep 2023 00:59:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238694AbjIMH7E (ORCPT + 99 others); Wed, 13 Sep 2023 03:59:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238673AbjIMH7D (ORCPT ); Wed, 13 Sep 2023 03:59:03 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1155198A for ; Wed, 13 Sep 2023 00:58:58 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-31f8a05aa24so4306729f8f.1 for ; Wed, 13 Sep 2023 00:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1694591937; x=1695196737; 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=EkdGZYQrwA4ll/7xTuDvjPfd4MTlNtu+sDVCgPZq2hM=; b=fDj6Pg+QybGFCjKOebH0swOZ+enPGTuJmqrxMxg9BozYR2t35AEvdUCMHsIqzGNHma Kj53e6YM3/CfYAz/G7lLIGUFDWdZ7h5h7vRaUbbu2vxs6CwLV1h2mB8YjPxiCFSJfnRC 1kuwY1nwWyw7OHUZrYms+gK6x1Oe8GsTsu+lxmWhLTvZvKbQnH/TTqlTIsBGc7VK8WCd BYXIKxQ1tBBBF8B9oZGtjcoPMfRzIIS1d/luKYyKQbsjdk8lEpyHY3KNNrGQ8SVHcVqS oIG352Hi9ueyP1KkVwm5WLcYxjEQUulQR71iDxHVTSln/ciuqd6B75e0pgDdpMGie4Yj 5+hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694591937; x=1695196737; 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=EkdGZYQrwA4ll/7xTuDvjPfd4MTlNtu+sDVCgPZq2hM=; b=BdwWqhda6eaMaXRoJhk4Zq2T5Z9jDa4k0Zx36/y2JjHxdc2MH+5EedU+kS4XerSoSK NVKcFvHqQu0E7EYSpmZ1nnGHkrf3ECkSVpAbkNBJSRGRqGiT0AVGiPL0iP5a6w7ZJeNw q9hre3PHOusDGtWuuCf1CDszi5VG4VLbmP9BtnM9lXgKJxy0vmIF7l6fzOuNeJ036BTW 86t67DlzC5KLfHmRz8ozX4s7pnUQzOkkFzhO94WndAqryGDORf5tYoVCndKq4sglhRFP odsELO9wr36irUanRfd7qxl6zAfatdrY+GvvkPDH3GvYjomTyO9V1gJy3TS31fVN+mXl /+pQ== X-Gm-Message-State: AOJu0YyLt8+bDhofH8h5cJjOr4g2eRcXP1zIMahiqgxFNKCq5Wsjwwq2 wOIkGKGX8HxGXQiwzy7ioUfnug== X-Received: by 2002:adf:f782:0:b0:31a:d551:c2c9 with SMTP id q2-20020adff782000000b0031ad551c2c9mr1382336wrp.6.1694591937140; Wed, 13 Sep 2023 00:58:57 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id y18-20020adfd092000000b003179d5aee67sm14854979wrh.94.2023.09.13.00.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 00:58:56 -0700 (PDT) Date: Wed, 13 Sep 2023 09:58:55 +0200 From: Jiri Pirko To: Arnd Bergmann Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Vignesh Raghavendra , Grygorii Strashko , MD Danish Anwar , Roger Quadros , Arnd Bergmann , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ti: icssg-prueth: add PTP dependency Message-ID: References: <20230912185509.2430563-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912185509.2430563-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 00:59:06 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Tue, Sep 12, 2023 at 08:54:51PM CEST, arnd@kernel.org wrote: >From: Arnd Bergmann > >The driver can now use PTP if enabled but fails to link built-in >if PTP is a loadable module: > >aarch64-linux-ld: drivers/net/ethernet/ti/icssg/icss_iep.o: in function `icss_iep_get_ptp_clock_idx': >icss_iep.c:(.text+0x200): undefined reference to `ptp_clock_index' > >Add the usual dependency to avoid this. > >Fixes: 186734c158865 ("net: ti: icssg-prueth: add packet timestamping and ptp support") >Signed-off-by: Arnd Bergmann Reviewed-by: Jiri Pirko