Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1034211rdb; Fri, 2 Feb 2024 11:17:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFd7X2Ov8uXCkKDVV3PtKkqrKrwnfZTTSOoYTbY4g3CzL1zGHnoobdYFeLDUbIbtLJV3Rn6 X-Received: by 2002:a05:6808:1245:b0:3bc:cd5:d2a5 with SMTP id o5-20020a056808124500b003bc0cd5d2a5mr7055257oiv.39.1706901442342; Fri, 02 Feb 2024 11:17:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706901442; cv=pass; d=google.com; s=arc-20160816; b=xVr8OVY5jGp2PWOvyNelzEJzJpXEKHPCNdYx4WU/L5kT2JeMnBICi6QcSz4HDXHvsb JUvV9XX+g6QyErjsLc1RdcuWBaHrRa8KthHKaUoiiU3CHoiNYMuBTdFq7pUutBmW7kXF WyQDAXS7U4n0ZHpw4qv4KuJJ8wzMk9mYIQ/mm9GySsVg9Aec1uqzMfWzFbt5bEk7CZuG qUR23QNp+0s5xSHLfgBO8c95gQAsikcHY4h7acww3pa16Mug4g6wtfBTk0czdO5Hgaeb +gQW6oYVN2zIl8m3JuKZveGcXvPyP0TNmfFYSdskzXFC7gHI6VrTs/adu28qNCp1wiHf F5kQ== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=hMIwEqns72Iujj9luJhjhuqzqBxbP9VSa+d1KRGXpT4=; fh=eSbroHE6mhJdd835HA2XnAdJzy8YiFU7T7o6wvljpxk=; b=yXkbH8r7XmNC2qFBhCaFCD0Xkg1bAHxZhTMq1MnY9FZwJ0aZQT3vl8NayuKApUGRAZ pSnCxQyYqHqVdcjwzvolVvNL8/xdSbJthO3XL11u6TX4AQ30CWvgxAAMa6dZ+YhUChWC ugzQik5Rff4QaJUur4S5latmafOSN6t1oWjYSb6vDBgBhw/HB12UEaoGUXI+yPuNp95r KoDcDnmIi6s1vTwmv0x2va7J64m97tgZRZYZCeq+JVB7h7ODk+IdwJEpsYLpzsCdliAB IURcD46CpTFx5JdNsogNgJqlfPjvsfiqa4D/Ul9boph3d5cz3l94MfUWBpEhXfH2eg34 wD/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JSuhIC8V; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-50469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCU2Cyl309Stg07PrJwKvzm5m2eI1pGaPxiypp7edjztvXxr4fNKAtPhsTi77wjqJYS4zH9ownt2lokAP56NKfg1nXdT21JfGVXHz4Vm3Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y15-20020a05622a004f00b0042bfe1d6ed7si2585033qtw.565.2024.02.02.11.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 11:17:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JSuhIC8V; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-50469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B8CBF1C297F0 for ; Fri, 2 Feb 2024 19:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 781DB15E5DB; Fri, 2 Feb 2024 19:12:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JSuhIC8V" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9053815E5A0; Fri, 2 Feb 2024 19:12:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706901145; cv=none; b=eKKqD1TYfPz/ClCLOUy02RgN7LxnJOHSJlSDqihOKeznkk9VMCSAJT8oDUUIQUjwAU+k/WnkP41XnndoYLpbzkpsUdlR7RCHlbwlzOamNsJrpTa+3k37s3gbgyCR6Z6sF9S9ezXj2agHoqPDKD8P5+nzxQl1ncm5u4D2g90/iBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706901145; c=relaxed/simple; bh=hMIwEqns72Iujj9luJhjhuqzqBxbP9VSa+d1KRGXpT4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=daZpY/9x0CRaylLfiSIOMPZUMaRKXH+ve0Py9bc8OHbUw9w+nqyfzAro4Ni9VASU1Pz9vFHlcMln/dUXJRUEmdi4pycYkXkYUwxXbZQ0wjQO4tBh3En3+YhtoU7UTQgvPUJXtGzi6/HHyBHZ1ynkoreHWJ1F3VJsZJtxULAH4HI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JSuhIC8V; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3F46C433F1; Fri, 2 Feb 2024 19:12:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706901145; bh=hMIwEqns72Iujj9luJhjhuqzqBxbP9VSa+d1KRGXpT4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JSuhIC8VVQ6atOvmR/wsOQ+bYAF+rtmOZgFQ6kLJNiIykN6l79Rw4rEQsy+nz6PmO DG8sPKH+rsYAPRK5mdx83JgfMLy+FSpl8J9Ldb1t7f+g0pilhT4r7XKu3ts3FAILbT e8haFZmvlZajaiUbWwZS+l+K65nV5IF7BDtkuJ1X295JI94/8QbcHst+iv9cZAMw7D +L0nWPAHoVYrI9EAUhye4dz/5cMeVr/p1Ejs8EmkRIo5NJVhIaUxESPbKUme1PCTTQ WQraiiX6rfWXdMzcgwPv2nfpRmXHz7t1ewHVWeC1uAqQzZpk3ywtbzYxWvZgOMjool A5nAFoEWuUILA== Date: Fri, 2 Feb 2024 11:12:23 -0800 From: Jakub Kicinski To: Paul Moore Cc: George Guo , "David S. Miller" , Eric Dumazet , Paolo Abeni , George Guo , netdev@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] Modify macro NETLBL_CATMAP_MAPTYPE to define a type using typedef Message-ID: <20240202111223.2e0c7db8@kernel.org> In-Reply-To: References: <20240202034448.717589-1-dongtai.guo@linux.dev> 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-Transfer-Encoding: 7bit On Fri, 2 Feb 2024 10:31:37 -0500 Paul Moore wrote: > > Modify NETLBL_CATMAP_MAPTYPE to netlbl_catmap_map_t, which is more > > readable. > > I'm generally not in favor of minor rename patches like this unless > they are part of a larger effort (code churn with little benefit). > I'm not going to block it if the netdev folks want to merge this, but > I can't say I really support it either. FWIW the netdev (or should I say my?) policy is also "don't take it unless explicitly acked by the area maintainer". Looking at the patch I'm not sure why the typedef at all, not just use u64? So whatever, I'm tossing this from pw. Not worth expending brain cycles over.