From patchwork Mon Sep 18 03:48:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Portia Stephens X-Patchwork-Id: 1835845 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RprQV1NWhz1yhR for ; Mon, 18 Sep 2023 13:49:37 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qi5GB-0005Hc-GO; Mon, 18 Sep 2023 03:49:19 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qi5G3-0005Gu-Eo for kernel-team@lists.ubuntu.com; Mon, 18 Sep 2023 03:49:11 +0000 Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 29F823F63B for ; Mon, 18 Sep 2023 03:49:11 +0000 (UTC) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-76f0b7e3879so533786185a.0 for ; Sun, 17 Sep 2023 20:49:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695008949; x=1695613749; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/oRRiB6Ix2/Naw7l/1Z5VDeMOc3m1R7ju37hdadEuHk=; b=tDNYdGh9RfDZh/9RIeSadp82QapywOCq3iVbVbHX85oaMhPrUvJMsKJEyglrtpm4Vd 0mvDWFNy78kxTDw75aAN0MuTGq01A9dr16AB1tRinzvqkpfCDtmWd4kRmcPdGpmGR088 ye+K7fkrWcN329JdEPZX4JrxXHb+BDKfUPxz6+Bim19Rn0hPv0frfMrHPiui1s2Ay3an S7UqGwGoUm0uOPEpJz8FZcvqSGzGIOEwhtueaILuK466CRR0QSZm4xfe5YUG+GGs/OuE X+8A+Px5f+Vcw7ZbgQTbB00v3BOFX5zilOYhBowaTahBYBBu7VlZxZF1/DJj/UuKo8Ft ElyA== X-Gm-Message-State: AOJu0Yys3U+gKvqKJWdBgXVdGQaDBRJZwR1CoFBgOwTPutRRwXLr/6lq 837cNVAr8o+LGRpf4fnjxpQCLyNqc121CD2H+qRDlFQ8/DmlFbqP9b3dU793il/hk9Z6CmMAq/i 8abuHlMy6dlmLo4NT3XBsUn83Qp+UisTT6U2rw7alV6vYtvYCFg== X-Received: by 2002:a05:620a:a42:b0:76c:adb5:108d with SMTP id j2-20020a05620a0a4200b0076cadb5108dmr8242978qka.31.1695008949711; Sun, 17 Sep 2023 20:49:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3HpSp0ndrJJBozHKfeomiLTeAqYVZxneDiiMyTEtgSbU0dbGwUiAW1UE8Htw38AFurjoOyg== X-Received: by 2002:a05:620a:a42:b0:76c:adb5:108d with SMTP id j2-20020a05620a0a4200b0076cadb5108dmr8242968qka.31.1695008949367; Sun, 17 Sep 2023 20:49:09 -0700 (PDT) Received: from portia-desktop.lan ([159.196.41.205]) by smtp.gmail.com with ESMTPSA id k186-20020a6384c3000000b0057816f7ed1asm4678194pgd.67.2023.09.17.20.49.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 20:49:08 -0700 (PDT) From: Portia Stephens To: kernel-team@lists.ubuntu.com, portia.stephens@canonical.com Subject: [jammy xilinx-zynqmp 2/2] UBUNTU: modpost: Add staging flag to drivers in ubuntu/staging Date: Mon, 18 Sep 2023 13:48:57 +1000 Message-Id: <20230918034857.3157366-3-portia.stephens@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230918034857.3157366-1-portia.stephens@canonical.com> References: <20230918034857.3157366-1-portia.stephens@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2036370 (Move experimental ubuntu drivers to staging) This adds a staging flag for any drivers in ubuntu/staging. Signed-off-by: Portia Stephens --- scripts/mod/modpost.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 3ac2f0232946..d9639bf45b05 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -2252,6 +2252,8 @@ static void add_staging_flag(struct buffer *b, const char *name) { if (strstarts(name, "drivers/staging")) buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n"); + if (strstarts(name, "ubuntu/staging")) + buf_printf(b, "\nMODULE_INFO(staging, \"Y\");\n"); } /**