Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp905054rdb; Fri, 2 Feb 2024 07:31:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPb2KNoB0OS0IiiGFUbX0rOFE0R6MByTo1UDu2ww7Awd+rnWB8FzNDGdfMJkXxl/9WK5bH X-Received: by 2002:a17:90a:c717:b0:296:1ddc:d46a with SMTP id o23-20020a17090ac71700b002961ddcd46amr4351152pjt.39.1706887918980; Fri, 02 Feb 2024 07:31:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706887918; cv=pass; d=google.com; s=arc-20160816; b=BzOgiC20sXnLGxeb04yF1HNXUCmLleRchHLEGT5sy9aaT5yJaYZq1LF1WDkj74GVmd oSe64oLWxpYBfnga8eIBssDa9yfYeP0Y1PIKhLO6dXx5xfXMuXpQlWuLGhk8NkV+o+nK dcyv87aTucZQ97cpvrr7HAP91QD/NQgpn6gBjxZjY6suh2z8wPMonEsjtZG+/0JYn7wE z+fgvSEe6T0LdeH2PrQKEHAE93dr2FNsHMEAYZ59lMxc/gPqCUwoa26yxRbSJrlf9anN OY4uF/9BJovpekDtp1RscWWQhxbyAkYDrJU1CkwOS9Ir7SOTFN2pYep/lBthODa3H7Yd Riaw== 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 :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=uyvOAzMFIzsSlq2kiKta6LgOvAhbSJpfLskxvPgpInU=; fh=NEfMB+9qjsnVO06KhC3DCwZlii41Zaj2X6JVSdjWsI4=; b=xPn5LL7H5O3d984760nhVcKN2qqZo8l5GmQb32ViuBq/U1jkwjRhfbNu4sRV0DGD0P EPb4NG/9t2HFvkw5hP1TT3sDVK8gOnManaMpi20M6cVkSvOG2nJQojTV87KVOOvQrKpj DsfBPMMnLYjC3P6qN5YOXIagPCuqQZ6juQBRqsAKxLnEzfBH0lmXbVA0pu+vseRrd0Gc 0PSZNKEwQWbHlePSwideK9hKJ2U5ZfbG+7x0ziwCm/HxI9iiA/SQU5lrRJD0kMpLGiFK PpsfQ7It6wqhIUK+7LKiVEkRjNc4bMR/4BVjvDtz9c5T44ZG9SA9ErxKokVfUnHTQrUQ W63A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=eErp11Hu; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-50022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com X-Forwarded-Encrypted: i=1; AJvYcCXT5ctn1L9qqI5iAfcXCWuDyJ5/i7ese04nhKv8D2pQBrathWQCDj3gAFsAbDFZQ4voJYgxIbWQ3lJCwV/jRNwd+QVtN1Vaoy1Myo9gyA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s17-20020a17090aad9100b0029640db4835si96369pjq.92.2024.02.02.07.31.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 07:31:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50022-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=@paul-moore.com header.s=google header.b=eErp11Hu; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-kernel+bounces-50022-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50022-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.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 A42C8289E95 for ; Fri, 2 Feb 2024 15:31:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0D45145B3E; Fri, 2 Feb 2024 15:31:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="eErp11Hu" Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) (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 3B540145B3B for ; Fri, 2 Feb 2024 15:31:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706887910; cv=none; b=BKhkjWI2RiH5D+OeoaJX+08y8lOOHlhu/e3dAmZ7LY6bmLs0pNNB0iwakIfAL7Rgvapc8I+aVlOag9dFnxxCe60+akPa42LwT25of48BOTG8cBPRmxhxQ9Wu0ArrgzuDJ3ELjj/45uekA484ziLSGNaPNoK+cycJsPy4JnRjicY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706887910; c=relaxed/simple; bh=X7CHp42Qev89FZqIAikgLbDlNbexH9c5Zo5LqW50PQk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=I7m4E72z2LKvd8jeBISbRPloPnZm17U7licMsd+0DxLea3RKhk8rDluWdebQHcuGgXdPpk0SC8zSa9/WT7DjXnzmf7HpXcqij9v1mXy2TeE0atsZGmbEBvp6ri+86Y0jIV5x1S1smz0Jco6+cLVp7x+bu2m9s6clooFht/X7GuQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com; spf=pass smtp.mailfrom=paul-moore.com; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b=eErp11Hu; arc=none smtp.client-ip=209.85.219.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paul-moore.com Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-dc6d24737d7so2128091276.0 for ; Fri, 02 Feb 2024 07:31:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1706887908; x=1707492708; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=uyvOAzMFIzsSlq2kiKta6LgOvAhbSJpfLskxvPgpInU=; b=eErp11HujsPY4cWoXSjHHOZ7vPmZED3O/U8ftVzZuTZ9g8qtb1trzvxG56JUjAaxMe RYQwlFbhMdnu52+jdMDjo+xHKRRUCrDwB98PFLqVAyWEsuG9nYI/1bWr1/WZOM6GR7PM mDqgxLlkDkuKH2n5zT7fADQz6mAC+zklOOkx+B8YzO7FhSG76XI6cXN+GrD0tZyXOpWL /i2EbwUNkBn8XW1MaKndDq0v+JxbYX7Qh91kOTTym5JUIT3CA2kn+df1ZilHYqBBUqgs mZuCQUU7pJXm9KOFOp8RiJajcoHhpoxEVR3UUobSDWfHKC7DEv+J1y+X95C6sSgQmRFi DEBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706887908; x=1707492708; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uyvOAzMFIzsSlq2kiKta6LgOvAhbSJpfLskxvPgpInU=; b=a6qqiAqAYGdOpLfVJxMGqZ4S9xwf4OtQK9FkuDIy1xPR7HVaJkOWBLQBOzS+nab10e o9XryreBHDZOIqF9VtRfVyaQubYG0pWFlkfupQGDVcW6T47rnmj9vdwN4GCAYL6298Qe 4HLwHC4rQivEXT5CwCLKsOV87XuwN5VP6V2drbyJ4GTePa3X55WGQjQVdAtM0hIEaqoL YuKvBDcSHTxMT0opOKrz89e1YH3YXNhPPVWVLl5rvJUsmiKRLtj7aPhwgsuSUT090sp7 wyXz+raPYPPz6wHB6j0LqFXtMlQ+k9ar+erYYZsRG279VPSLJI7vDSAlfTUl5ji9v24L w2/A== X-Gm-Message-State: AOJu0YxiFuWO7rb00KAv8IOPmH9oLDJ1j2gF+qfofn9YVu1alF1su60d P2+mLoxYDGLtPBYUhS/B6gH+GUIdMM+AIYzV++lxMyrHOyaMDcX3l2WW4C6JX7OnQTlgwiLlHTd gjGcnXLfwpWFQ4MJOQSE5U1K4e/RrRs1LvMXj X-Received: by 2002:a25:df91:0:b0:dbc:c56f:465e with SMTP id w139-20020a25df91000000b00dbcc56f465emr8987242ybg.3.1706887907968; Fri, 02 Feb 2024 07:31:47 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240202034448.717589-1-dongtai.guo@linux.dev> In-Reply-To: <20240202034448.717589-1-dongtai.guo@linux.dev> From: Paul Moore Date: Fri, 2 Feb 2024 10:31:37 -0500 Message-ID: Subject: Re: [PATCH 1/1] Modify macro NETLBL_CATMAP_MAPTYPE to define a type using typedef To: George Guo Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , George Guo , netdev@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 1, 2024 at 10:45=E2=80=AFPM George Guo = wrote: > > From: George Guo > > Modify NETLBL_CATMAP_MAPTYPE to netlbl_catmap_map_t, which is more > readable. > > Signed-off-by: George Guo > --- > include/net/netlabel.h | 8 ++++---- > net/netlabel/netlabel_kapi.c | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) 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. -- paul-moore.com