From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 6583219B5B1 for ; Sat, 13 Sep 2025 01:18:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757726309; cv=none; b=t1jdBnF5y+UETTudfJiYGW9tRKPbeN13tMKaIl7Ac97/Da2wyGAEI5h3TqcfzGWvOUbRhTPxbemqNVXJrCmlkVhG08WIPA10hzN6cJPkP+baAQpMSmVEhqlH5k4lQ22KeRKeeatE3QP97H1XM9Jxic0zAvNsdlWijZF8oJRJ9fQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757726309; c=relaxed/simple; bh=gqqGfNEIy1h395KAAal0EqVTqfHBZvgS53UXMAzAIg4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CaelP9VFiGA9s0GzRml1aK3w4MQqL70ts2ifLZcqWrYUwLP8vT99C4MyCau6cAAtQckrX8XfeFI95p4zQe+8g8mbe6+uCq+qJmzpdjvPyWvfhnhfTFg3k9SsjfMlIr6/R12mrqg+NkfjCroc+p9Qp1CcUWHo84X+TzpHx2QxxTc= 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=S3MR3wRG; arc=none smtp.client-ip=209.85.218.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="S3MR3wRG" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-b042eb09948so528487266b.3 for ; Fri, 12 Sep 2025 18:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757726305; x=1758331105; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=azZv/jvf6IRhG0wveCq5ECQcNHAHnPNLNif/IfsLlkA=; b=S3MR3wRGhC/kXLFi7tEzWsnegJT9EOlT9m/C/MFzc4mLffsb1zPxwJp1ys/R7WkKtu lGH2qDNYyTs5AoU//E0brWD5vIAIWB1n3FQosPRaK+QRoGA0DZdmhSh/3U5iRy8W4DJp Fenld0TY4Z6v7xbzE43yOvUjTFLByOJ5B4tAPAr4+lqeApOt2QlD3yf3593AS0fFkyGD QIRxGEpNIvRn18hyuD6Dfkz7pZwRQAb4wq9+5bZobdNclLuXePQzPiQWeZfPixQk4bNj mQU+cnszndYycrVnwj9dFqcHiTNWiRrAaiY+Wgi8p28YIcrLfiIHcIobM8FFJ7GF7SK9 5mww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757726305; x=1758331105; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=azZv/jvf6IRhG0wveCq5ECQcNHAHnPNLNif/IfsLlkA=; b=DMjT4xb2nRDIlwTl5HDGGlxX+wlr9Q4mf/Bor1LAr8KtH1nURX/2OE+RecsrbJc4GB UO2iF8ZiZllidUzUrP0h5U5fcwYpNkbYRLl6Ie5zmfGlTKc184cO5AK/0mnmy4RJN8CZ nzqjOXGPYwCyXJTbKUtx8axT9JHSKZfp5VVtHvREhl1f0hzqmXSInaPkC8FmmTLJO4cf EdJrpJvkDmEeF0L9WlbpzPY0EydtxYmMmIVy7e4wAWeZBdmsIYXE0qKl2bmzCMKYUcPp nLxgmDbfBLorIVuzbI0dDA1jbFqW5eqdaeE8qVQxJcvirJk5HqGFF2t5BkqCFspwGnhL YkpQ== X-Forwarded-Encrypted: i=1; AJvYcCWvsi1tym//pyq+SlqnfxZhtd6LMiUup6OM+yH9k/xbA+Yhib3I+LpHmv7jknrmzvO1na8ZjMdVINUi@vger.kernel.org X-Gm-Message-State: AOJu0Yxr08XFMvuF7TdI0VM1/fOpSZaQ970XimOwqtFToOJBeA5VXtGp R3mZ70Rupow+iFdTwlaAj9j+0QpjX7bxqcEwvIRAfBO61tPjbOagk3b0 X-Gm-Gg: ASbGncsoXdXUrM4gJwb3iK8qv6K+KlK4m39xV0UhEhtP+BzvvZvUrpghkQ7pf1E6a8c eY5WrosouCSJTRPtkAEsIx1/doEUzp9TSk06NO24PrBwtays/B3xXIuRmch4lryvjPHvIWyYd/u E7tbTFJPrqmWFNhdxEhoiB0QuAe/k2os6cWc7IuTxtE44VDRaWqQLNlN/+IvqPb9x3HlvxLvGCZ g7R6OlXgrjJvNp142UzAN6X6yC05ZxSV82r/I4363DIVcHFM2KcJg34m1kgtCfbS2ujdycpjUQs 87l0IXIT3qfY+FxqrhlQvlYYAvwmrRNQ/o3nN8KFPIr0k/3UAH0gX5GcgpFtxYOOw4nAkRQLtfq oK7Zz0zgYPP1iBoohsG0= X-Google-Smtp-Source: AGHT+IExQyu+Z7m4GD3MP2gVTN78xlktku98kUsQddou1aWuxY/hOtzAat6yYKAto7vnFggGkvcCIA== X-Received: by 2002:a17:907:3f18:b0:b04:45e1:5929 with SMTP id a640c23a62f3a-b07c35cd746mr507554266b.28.1757726304508; Fri, 12 Sep 2025 18:18:24 -0700 (PDT) Received: from localhost ([212.73.77.104]) by smtp.gmail.com with UTF8SMTPSA id a640c23a62f3a-b07b32dd309sm475244766b.53.2025.09.12.18.18.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Sep 2025 18:18:24 -0700 (PDT) From: Askar Safin To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Torvalds , Greg Kroah-Hartman , Christian Brauner , Al Viro , Jan Kara , Christoph Hellwig , Jens Axboe , Andy Shevchenko , Aleksa Sarai , =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= , Julian Stecklina , Gao Xiang , Art Nikpal , Andrew Morton , Eric Curtin , Alexander Graf , Rob Landley , Lennart Poettering , linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, x86@kernel.org, Ingo Molnar , linux-block@vger.kernel.org, initramfs@vger.kernel.org, linux-api@vger.kernel.org, linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-ext4@vger.kernel.org, "Theodore Y . Ts'o" , linux-acpi@vger.kernel.org, Michal Simek , devicetree@vger.kernel.org, Luis Chamberlain , Kees Cook , Thorsten Blum , Heiko Carstens , patches@lists.linux.dev Subject: [PATCH RESEND 35/62] init: make mount_root_generic static Date: Sat, 13 Sep 2025 00:38:14 +0000 Message-ID: <20250913003842.41944-36-safinaskar@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250913003842.41944-1-safinaskar@gmail.com> References: <20250913003842.41944-1-safinaskar@gmail.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This is cleanup after initrd removal Signed-off-by: Askar Safin --- init/do_mounts.c | 2 +- init/do_mounts.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/init/do_mounts.c b/init/do_mounts.c index 60ba8a633d32..c722351c991f 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -174,7 +174,7 @@ static int __init do_mount_root(const char *name, const char *fs, return ret; } -void __init mount_root_generic(char *name, char *pretty_name, int flags) +static void __init mount_root_generic(char *name, char *pretty_name, int flags) { struct page *page = alloc_page(GFP_KERNEL); char *fs_names = page_address(page); diff --git a/init/do_mounts.h b/init/do_mounts.h index f3df9d697304..f291c30f7407 100644 --- a/init/do_mounts.h +++ b/init/do_mounts.h @@ -12,7 +12,6 @@ #include #include -void mount_root_generic(char *name, char *pretty_name, int flags); void mount_root(char *root_device_name); extern int root_mountflags; -- 2.47.2