Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp649104pxb; Tue, 5 Apr 2022 17:16:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYVvXXyETr0K9UOMw/ORADgVN19uTIVXTefDVJhMX+TcNQ23uCHQnF379A1xCk5cRtps6z X-Received: by 2002:a63:124b:0:b0:399:26da:29ac with SMTP id 11-20020a63124b000000b0039926da29acmr4879494pgs.362.1649204177781; Tue, 05 Apr 2022 17:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649204177; cv=none; d=google.com; s=arc-20160816; b=bNlwkJWr8Q+qs2jsTU9mhZO2nR091fxCWjXtgNpAUZXplp6IMoS/HGdI9B1bXFTrmC NPbSfvuiP2xRzfvjsRlG9dCOxe+DIN6Qa3IuiG9H8TRIbCm6kUh/lVzSOVnWoFE2bERm /OqXuiPHmVjaXtTsJ6cJ10f2E5ZJbOi5BND88oP41uomzLIH0h0Q5tUi+eW9dTnHn67z S+RFNQdVrXqARLLEmRn4/iJ+uEIipRZC0HLQLt31PC1SkbtBEHNCCxZC0its6Z9UW7qp Z6cjzDg1Z7J19LKxee4t6TU64heJg9zla4gAo/fyzvmPo7iMOkvN3jagY56IOlrxGQ51 nShA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DPrUnX4NIhCA+QuZOFd9fdeyF/YLjz4imXZWJ/E5Aow=; b=aSvq3CSFzvOymqdCDKyiMWC+ZYM9Db8BJrUmsip57QXqvJujGoYadeG02WzpDcjhd7 WS57wVjOdiKgJFvSNmaR91z343vFlI5hFCICQlxW5iQSpaVZclaiuF8n8e0emlHPxSyH GH41ufM7yIOb8y+k0D+e0C7IdhsiVwMyO4WkwuncSmIELhtmiq9BMbUwVm0jXva/oq2F 2aQMdzrM8lrSCnM7weTJzb+utEckmhEVOfMhptzJA9uwCrsGFfvfRqj9MZOXO2Pd+g1G c8sRxPtbaiS6x7hX+dpUTilfvjy+458xSs6Ut4LLHyYzIeq6jAn5xPSLjViRM2IQIhQU x+fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Aw4VdKdn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m16-20020a170902f65000b00153f2d5f24bsi13919710plg.600.2022.04.05.17.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 17:16:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Aw4VdKdn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 14C2E7806E; Tue, 5 Apr 2022 17:00:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237544AbiDENnt (ORCPT + 99 others); Tue, 5 Apr 2022 09:43:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346499AbiDEJXy (ORCPT ); Tue, 5 Apr 2022 05:23:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 560AADAFEF; Tue, 5 Apr 2022 02:13:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AB611B81C19; Tue, 5 Apr 2022 09:13:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05EBBC385A3; Tue, 5 Apr 2022 09:13:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150022; bh=ordbT1ol/NytMCy2eDm57yDhNZz58uR1lbLYcHMG7BA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Aw4VdKdnC7VhVF5uBurfFp6MOliTWsq2Arw7lmDzI5EJIrVpck4e7q+CNroYc/0Dz AfvhfLV4XdJ23KQ9uZ3DDqghWFdCpL1aRGoiLI4ZApIkAk1y00kqIUKkXctvltWg3A vyxOFEk3Q2nnIJ7YTkpZOPdef0ZwInW1fdvzhfjM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masahiro Yamada , Mark Brown , Nick Desaulniers Subject: [PATCH 5.16 0927/1017] modpost: restore the warning message for missing symbol versions Date: Tue, 5 Apr 2022 09:30:40 +0200 Message-Id: <20220405070421.732807647@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Masahiro Yamada commit bf5c0c2231bcab677e5cdfb7f73e6c79f6d8c2d4 upstream. This log message was accidentally chopped off. I was wondering why this happened, but checking the ML log, Mark precisely followed my suggestion [1]. I just used "..." because I was too lazy to type the sentence fully. Sorry for the confusion. [1]: https://lore.kernel.org/all/CAK7LNAR6bXXk9-ZzZYpTqzFqdYbQsZHmiWspu27rtsFxvfRuVA@mail.gmail.com/ Fixes: 4a6795933a89 ("kbuild: modpost: Explicitly warn about unprototyped symbols") Signed-off-by: Masahiro Yamada Acked-by: Mark Brown Reviewed-by: Nick Desaulniers Signed-off-by: Greg Kroah-Hartman --- scripts/mod/modpost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -669,7 +669,7 @@ static void handle_modversion(const stru unsigned int crc; if (sym->st_shndx == SHN_UNDEF) { - warn("EXPORT symbol \"%s\" [%s%s] version ...\n" + warn("EXPORT symbol \"%s\" [%s%s] version generation failed, symbol will not be versioned.\n" "Is \"%s\" prototyped in ?\n", symname, mod->name, mod->is_vmlinux ? "" : ".ko", symname);