Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp51355lqi; Wed, 6 Mar 2024 09:46:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXEvnrnNnaF3WxysS8qI+lEMWw4Kbgko6mCgGnz8Arvz5qKLl0C2QPhfV9twBKGfQtgGO3HfPV2h46Z+NV7/MC+NGay5wwgqnjJnjqSkA== X-Google-Smtp-Source: AGHT+IG2mrZIK148LJcoFbV5PAZhLNnmmu3rom6c2qIHRixxnLCvgRrHc5QX+2tVfBJRfJnyO3yi X-Received: by 2002:a17:906:1517:b0:a45:4448:4376 with SMTP id b23-20020a170906151700b00a4544484376mr6741795ejd.74.1709747187175; Wed, 06 Mar 2024 09:46:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709747187; cv=pass; d=google.com; s=arc-20160816; b=D58QK1XWVbRw1lzlZU/7POaRN3yYNSkX98XBMX8FPbigd1n4PadXpJsMZhQU6jg3FZ cwWYf9WOTEyjAl6dtAwvx98JImlozBKGcp0jDKEfFZkMsjxJVh2QIzROnuXSehDJwyKf g238RqUJfAgyQQz5QDUr5beHFazrXnSA3pXvjqichvXqRlcPmXUal9JECYZry5XlcJj5 Ae6ljNx6CvqIOF0rzVb9/sGmR05DDUzR/BQ9q5Jaqa7v8dfPrUdCQJvvBv9+hvtUgKBV Wh1MUE13zPWpl5Qk9X7PHMXlSqmDUXZ+lCdIUi/KmH6LPqIP9395toev9ZOp2YWhDzlk FYww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=Idele/8qXZRgSYp7F56voFjVrzpXCoT8VmNU5ueySCU=; fh=9ZUS3tl6yUi/kKeam6GWpCvBRbIQUuf1gbaQNccjg6U=; b=E24sJiPGEUuvTjRA9zjtVq34f+ZGlPnxM4vMu1IgfFMu+cH7kexo8WPhI51k+AMOPl YQ5T1WGwfelMmKTa1531ucr2EDov1S/WORUKIaEZbyKT8aRYwUmJEd7B+XXi7tdHv67K HPW3KAqXLduVURar+gg63zCjVq7yaNumN0xYOCJBiyhtrYs05nJLm/N2wUheSBby7f6f 9KnGDjhvK4LHmgyWKBS8davr0c8ZsM/qU76W5H/oHi5PbstchOo1vfKoji8TmZIcKqtz tBeKlnoUetfHz5mdwyoDwEazFFVJrBrpSujvreu49FNI7VDxa/FmyIl9yAhFjxYrMXU8 lSeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LtT7u0aU; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-94346-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t16-20020a170906269000b00a43bd1e910esi6094890ejc.585.2024.03.06.09.46.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 09:46:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94346-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LtT7u0aU; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-94346-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94346-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 am.mirrors.kernel.org (Postfix) with ESMTPS id E1BA21F21759 for ; Wed, 6 Mar 2024 17:46:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFF6713BAFA; Wed, 6 Mar 2024 17:46:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="LtT7u0aU" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 CFE58135A5B; Wed, 6 Mar 2024 17:46:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709747177; cv=none; b=lv3meiuCj0p9BugBFjOI4EI6btyxHcQVKZlmsB+yPUQJlMkoJN7iRjcWt7fhsoeec2h/zlnHaFX4FPlneo6FrP1HpiiyzNhL4YePY4NZqSECW76PS8n55M9DDEPViAPb55dnPnoP5PVbgVh53uyDaJisqEeBStlvnrp3toZ/rEE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709747177; c=relaxed/simple; bh=VTEgi30FbwNlL4FbYg7JVPoXMEZ94IoTaaIvVhCiH2k=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mvmSkOMg8FQLcuX9Uh2bVj99FpblqyBb3u1jeanzzdgPbWWGmILxWD4KCj/qAZJ6PiH3nih2GwBAJu0J62BUSVQSB80+aVKuWYfx7G3AypnolKEK6x6iCXWNthuzBau/AjWS3fElN9MpuebT/wMYddmvk+ONS2w9TQDsBSJwCUY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=LtT7u0aU; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 7D73E60004; Wed, 6 Mar 2024 17:46:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709747173; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Idele/8qXZRgSYp7F56voFjVrzpXCoT8VmNU5ueySCU=; b=LtT7u0aUPYz/2P00L0hev/DeNZRJtF/aa0hlfQMSIWJ/xJLluah5IUILkRiNVDobjxMZz2 k19P5OupxpbdBocA4PFC/v6s4bDyhZc6EEh3qhk4BmQ8R66nPFINNs5T9T8JbKwnclj9dX RL+4C8hpZgDDTvR51xwjWZuKp+GzK2//sbDwhcRJLDY+yhfk7q8EV8cvnSK5whU0Hoqhu6 VH1+bU9iG8o2foDne+gB8PI9RRwR3GhetzDj/+DLcATkoFC1Soh18En8d9N79SpS+dTq8K ynJJh1sZpzRSSlYEVYn3hfss4fs+82d2lmgEYox1qUqyy1QqsMKMco7wO+TFRQ== Date: Wed, 6 Mar 2024 18:46:11 +0100 From: Herve Codina To: Jakub Kicinski Cc: Ratheesh Kannoth , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [EXTERNAL] Re: [PATCH v6 1/5] net: wan: Add support for QMC HDLC Message-ID: <20240306184611.0cea20af@bootlin.com> In-Reply-To: <20240306082230.7ecf207b@kernel.org> References: <20240306080726.167338-2-herve.codina@bootlin.com> <20240306105651.1210286-1-rkannoth@marvell.com> <20240306143743.5732b298@bootlin.com> <20240306082230.7ecf207b@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com Hi Jakub, On Wed, 6 Mar 2024 08:22:30 -0800 Jakub Kicinski wrote: > On Wed, 6 Mar 2024 16:01:48 +0000 Ratheesh Kannoth wrote: > > > > > + struct qmc_hdlc_desc *desc = context; > > > > > + struct net_device *netdev = desc->netdev; > > > > > + struct qmc_hdlc *qmc_hdlc = netdev_to_qmc_hdlc(netdev); > > > > Reverse xmas tree > > > > > > The reverse xmas tree order cannot be used here. > > > qmc_hdlc depends on netdev, netdev depends on desc. > > > > > ACK. Usually I get comments to split declaration and assignment for > > my patches in upstream. > > Yup, that's our general preference, to split the init out of > the definition. Does it mean that I need to update in a next iteration ? Best regards, Hervé