Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp272395rdb; Fri, 6 Oct 2023 03:08:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHaBDGe6sidaV+M6S1azxUw3L141CHhWVRWcJZ51G/ngjEg0KsDh3ykJI9/TaxtWvfVdXmc X-Received: by 2002:a05:6e02:1a2c:b0:351:5629:1ca8 with SMTP id g12-20020a056e021a2c00b0035156291ca8mr8831046ile.6.1696586905776; Fri, 06 Oct 2023 03:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696586905; cv=none; d=google.com; s=arc-20160816; b=VSS+C+OSU/TXc1OKXHRt2knc5BgjVBKn13krqY1VxIgEIQv9Kjojx9Afm1Z42VPN3U EllMKwvjz3NKt5jN0hWFSNUZ9Heb8PnxUsgAjAgRIjQwKpM25sFcFKDn+BYFvqnuys0A t7RDzIo3xLcZxpAt+GPZeWBc55ZG87JmpQPKX0r0p4t60dkDri/vKGfu85c+o+8JTGT/ 77MtgJNyAZknLiweW9L+z0eCU9487NMOIOImFAzEhJEODzuFOqHpjtL04PfbrD+81RZW vq3aUHTl7srSMiObAFit7iDc+0mz10A5izeI2z9qlq2nCUp5Jkz0eL8dgWuhd+NQxCvC 6xuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8Fhhv2QNgOQWx6ozhPOx/j7/1Du6kd2Bc/NN6U5qhqQ=; fh=3ITA+hG5KH7F/YE3za0C4YE3vOQC6OhXaAYfDI4ufbk=; b=mFoc2ItqvQSlumpM81H/GwLIvF/aapo74TT1NDEKBWXrP0PuGk7mgek7KiC+0k2z0u xmhUUJrcnptagsVGdniCF8313M57pRcddpenOYsPjHdx8pRfYmHETfLODWbiLJxka8p+ nrLtt5WvQBiQmOcDohoMhbvNusoY+Wiz5rm8xDaJGLr7i8Eyz3SV07fJKD7lJVCowa0S zyUB/vZPRH4sOWXzD+2xAmJoe0IohAbv9X6uEK65CMQBFqADlUr4xLa1jZGtl7GH6zfz oRVs+LDKeDSFt4S8UNehxG9fvnPvnGzGNN22gZvjXpID9HR+OzibKw8hwbIKmjLYzm0N MTnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iJpMoqgA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b4-20020a6567c4000000b005859ed0e6efsi3045259pgs.533.2023.10.06.03.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:08:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=iJpMoqgA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F30DE831336C; Fri, 6 Oct 2023 03:08:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231685AbjJFKIU (ORCPT + 99 others); Fri, 6 Oct 2023 06:08:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231670AbjJFKIQ (ORCPT ); Fri, 6 Oct 2023 06:08:16 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66CF9FA; Fri, 6 Oct 2023 03:08:12 -0700 (PDT) Received: from localhost.localdomain (unknown [39.34.184.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madras.collabora.co.uk (Postfix) with ESMTPSA id C0AA96612212; Fri, 6 Oct 2023 11:08:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696586891; bh=d3OOu4X1+6LdLbtOeqh4zt3O5EoMiW32b7riykuvMiE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iJpMoqgARKxlrxvE+GxBvcWAtc7MbgXZS71nppsrKEBpUPlc0R5bdKyRHV/l501fg P83sEu77FZ15rDbNb/9cXn8isvhZiqqFHXaSIL9DK/VEOsCtDYdGzQAUK+CimYP/5J meytARV872FUCZVx2xt6bHcUdeiFiPogWMEuI763LFoTOJySY1oyy/GJvO7zMDejuC nBHAFTLJfPLSVKUstw039itQgjks6Y8tMU++eAQ0zZSLigkh3KVxIq0zbOhC/0fBuS VnBbT2XKN/QAQs9tojmzw9MFRbr81Z1YwlrCrgzGplOxrJhiOWa8Z2BZqanh0UBmnC 1JunAiyfke/kA== From: Muhammad Usama Anjum To: Shuah Khan , Muhammad Usama Anjum Cc: kernel@collabora.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] selftests: firmware: remove duplicate unneeded defines Date: Fri, 6 Oct 2023 15:07:38 +0500 Message-Id: <20231006100743.1631334-4-usama.anjum@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231006100743.1631334-1-usama.anjum@collabora.com> References: <20231006100743.1631334-1-usama.anjum@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 03:08:25 -0700 (PDT) These duplicate defines should automatically be picked up from kernel headers. Signed-off-by: Muhammad Usama Anjum --- Changes since v1: - Make the patch explanation better --- tools/testing/selftests/firmware/fw_namespace.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/testing/selftests/firmware/fw_namespace.c b/tools/testing/selftests/firmware/fw_namespace.c index 4c6f0cd83c5b0..04757dc7e5467 100644 --- a/tools/testing/selftests/firmware/fw_namespace.c +++ b/tools/testing/selftests/firmware/fw_namespace.c @@ -17,10 +17,6 @@ #include #include -#ifndef CLONE_NEWNS -# define CLONE_NEWNS 0x00020000 -#endif - static char *fw_path = NULL; static void die(char *fmt, ...) -- 2.40.1