Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1751166rbb; Mon, 26 Feb 2024 22:59:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUgntGr0tSHgtQQTS5PL1tV0gfqpLf2rhN+Z0dDlA9i9ZpVxWI0LKYRvJI0pzVxnuj6pap5ALug89TTi5D29DQ0r94UVO/hkqMN0y+N8Q== X-Google-Smtp-Source: AGHT+IGohQcPvD9tFrX3efyMzQF0Aywk1eYWANSjilcGclL/1kYLhCbo2ihbNhKAXBBJTNCcT5AS X-Received: by 2002:a17:902:d506:b0:1dc:90a7:65ef with SMTP id b6-20020a170902d50600b001dc90a765efmr9301689plg.23.1709017170681; Mon, 26 Feb 2024 22:59:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709017170; cv=pass; d=google.com; s=arc-20160816; b=xCwm1hqX0fmiEVaWhAtmFvvDo2g9mJtCgXn/1dHdjuDJmAi2SC9KZfDz/Ry81BzMa5 gAlaoIDiZGeeTgtSoE6HNZe+VLdCHUwGvBd+Ag/sbc0xJ0+69A3CS5bZK4U2XWb8ek74 jq0GERkuPzX9SiZHVz/5G0KWR6qsDByu2hlJes3JjZRPLVaZz8vGkFRWhSuA4PaxDGO+ kSl1W8vJl1yOrhZvXQHB3N3Uel+2YLevmsKhLFYgeInCgRUroreqRFSgU2XUlsjBQodw 7oPIqXhWTx9sgvEGw925Moierxnd8Qgdh4OFYLamjKdSg9XMedXglKggXrzli+ZBacem 5tPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:date:from:dkim-signature; bh=CnSkxBusm54u4LGQ9Qtvtg38+ac26g3umiSCmvFbMfs=; fh=9oUQeygzcg1SzcOX8VjxRp02Vyp9hLrsxadOaPDPBm8=; b=cHfyKp/ONdKGaIGq6oIrHBBK/P4HEUO0zXJXG542FivcO7l1D1ZFrJblH/lyjnsqXO D9oGf1JnCTtRInynwMm1ij6OQHPM43MWlDZjmNOkHBwBNmvUwBcyl6IEgwmQVeAAlvpT haKf5HQJPGuS8YZPq6iCEO3lmDGs1mdpPigitw+8VE/3crUs2UXKWDBoO2HX0K2AKqfo 7/fI3GMDqCyI2lfOZgpx19BuYFSH0vykBOCnfF/p8mFHE9BYZd5IKKVwsW6ZhThia7ul thjrivoPBtnMB8+/wmeYBfl8odXCvkK9bH+qWwMY+ix+Gm1FlDk1eRPrD86LNBRmLAEV HGfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GGV5cRn6; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-82771-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82771-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p16-20020a1709027ed000b001dca619dfb2si865615plb.607.2024.02.26.22.59.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 22:59:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82771-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GGV5cRn6; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-82771-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82771-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 62EF4283822 for ; Tue, 27 Feb 2024 06:59:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEC7254BEF; Tue, 27 Feb 2024 06:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GGV5cRn6" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 66D6F54BCF for ; Tue, 27 Feb 2024 06:59:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709017164; cv=none; b=F/zqTvh3gQHCoSzkY7D9UP4R+2x801BEeflFSUR4gXi9En9npLD7LN5zI9xvP6J2/I7NGPeDbXjJl2f6PTjuX3Qgfu5IRfByC8oN4Qx7GfZEHPrAvZsfSuKKM3F4aWDryFnvEpcOGvEVOB3yKXwYLQ3Thbqf/t94POzp5UEZzKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709017164; c=relaxed/simple; bh=vc4XeNHKboLhVCJFQrUuVUM2zKD2sNEwLsiP/Wd1Df4=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mo5+8avjMBZmjQJQg4GhHaT2Ma/VrfJdJjvIvOrEAwmK6O+SgZwqQ5bntBzefZXD5/zZYPN6tufj8I5pTyCEA2QCoS74CzApaNiJZ5J4AqWdcFH4JbiCxHUHRVa4RGxw79CG6Au+d3/gSVPLDNVZPxPHd1wRcNteZVeB7BOEVdg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GGV5cRn6; arc=none smtp.client-ip=209.85.208.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2d28464c554so30787331fa.3 for ; Mon, 26 Feb 2024 22:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709017160; x=1709621960; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=CnSkxBusm54u4LGQ9Qtvtg38+ac26g3umiSCmvFbMfs=; b=GGV5cRn6Qw5+ESBQpPN3jq7LrH0B1ebl6JMe8Ah2Zo/h3itxLIBemVUfPA/Vc7vB3D rLMOHQEqDemMtlf3z+0i2SYcMC9wScc6kHklsw3laeeuiN7mS4noIJQV/sjtKPBYZScf KdMHUR9NTgUT9s1ElEKBFc6/R8J0lhCRT/wwq6xXh93brFKKZfliSHHUhpPQHUeZ2X4+ qQVybl+2TuoaM/U+Tu7ifdlRIKrbW3vWFtL448jVPn/Jtwt6xKlOLpYzynFenYjOUNQp +2na+iU/Nmcv9O6ydbjwyHTUWFXI1IA7cWJ0RzX2iuKD0SEjpL7FD2WeOWqwpJPMmuAv iPiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709017160; x=1709621960; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CnSkxBusm54u4LGQ9Qtvtg38+ac26g3umiSCmvFbMfs=; b=BXiEiwjQmXVzLq/gt1Ake8CB/m6ymG1oplJM1imNoyGIOXmiHRewGEK794ATtEFHZj tMyO2Q+1KCmg4qgXMG5jjKJBRzdh19X/EPDJnEz0fMokkiUxuO49aB4DBo7dLvRRrEWQ MG6FuNQDxOsw8qM5uS49PiqymWs1RYpPCD3RCPQcy/bNrTlq8WOGIH0yWAIGB9fyzjQU UvTwbI7+IYWkSUV+4lPHVcCPhyTPaCj72Biai08+iC9i1fZoHZtLEs2k2K9CBoCyzZbV VkEppiGCwLdr49GzORzZ1kscnsyXGbVGMfBSJnEe5zFaiJXazzjCCo6kQOg4skLPbuIT CB8A== X-Forwarded-Encrypted: i=1; AJvYcCVTHPN/GP3k1z/Ew/v0emXjDshWg13b3NCMreriIAwzvOlTJpvDF+9GHlNuzbRZKatI1giFsKdq5ZFFbj6QCSVVwCJks7rM+x9qDj9A X-Gm-Message-State: AOJu0YzYQw+leRNFAOoF/jU2NVYRd6sUM0TbucdrpTGkUYwxd8Zmm+hU MH2Y0OjMEB7BUJ3eMQJByy96ZjJZWwuNMOgXxTO7sTfhs19CNKVB X-Received: by 2002:a2e:9793:0:b0:2d2:25bf:d80a with SMTP id y19-20020a2e9793000000b002d225bfd80amr5321410lji.5.1709017160426; Mon, 26 Feb 2024 22:59:20 -0800 (PST) Received: from pc636 (host-185-121-47-193.sydskane.nu. [185.121.47.193]) by smtp.gmail.com with ESMTPSA id h1-20020a2ea481000000b002d292191b10sm294670lji.36.2024.02.26.22.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 22:59:20 -0800 (PST) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Tue, 27 Feb 2024 07:59:18 +0100 To: Martin Kaiser Cc: Andrew Morton , Uladzislau Rezki , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] lib/test_vmalloc.c: drop empty exit function Message-ID: References: <20240226191159.39509-1-martin@kaiser.cx> <20240226191159.39509-3-martin@kaiser.cx> 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-Disposition: inline In-Reply-To: <20240226191159.39509-3-martin@kaiser.cx> On Mon, Feb 26, 2024 at 08:11:58PM +0100, Martin Kaiser wrote: > The module is never loaded successfully. Therefore, it'll never be > unloaded and we can remove the exit function. > > Signed-off-by: Martin Kaiser > --- > lib/test_vmalloc.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/lib/test_vmalloc.c b/lib/test_vmalloc.c > index 191b6bd5dff9..d0c0cbe1913d 100644 > --- a/lib/test_vmalloc.c > +++ b/lib/test_vmalloc.c > @@ -600,12 +600,7 @@ static int vmalloc_test_init(void) > return -EAGAIN; /* Fail will directly unload the module */ > } > > -static void vmalloc_test_exit(void) > -{ > -} > - > module_init(vmalloc_test_init) > -module_exit(vmalloc_test_exit) > > MODULE_LICENSE("GPL"); > MODULE_AUTHOR("Uladzislau Rezki"); > -- > 2.39.2 > Reviewed-by: Uladzislau Rezki (Sony) -- Uladzislau Rezki