Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2014582ybg; Fri, 5 Jun 2020 03:25:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLOG7Wq8ERtS4PbUHz2vmBxX/Mwk9HPzQrxPsg1+d0NDm+l+hKYSIKN0ebh1WYVkRAqgNq X-Received: by 2002:a17:906:1c94:: with SMTP id g20mr7905138ejh.319.1591352725721; Fri, 05 Jun 2020 03:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591352725; cv=none; d=google.com; s=arc-20160816; b=O5lg+75y0ShDJqZM2SgE1F8DEnKdULcgcVtgg+mUOROBUNlNftz3+KHxAm8IY7LJZ7 fIqJeHoqZqlvUVdUNgQTVkY9ITcw53kJJI4nXEGvoIUVMnU8C0fNDzqv7zhrScdXhReE QpCorOHBok+yMlacSp7Dbmn6Cpg+T0dES2Xk7zYAKqOsSwRisYUO4evpE79Zg/W7jYEM /LYowTjyDb6lC9KaYzp7cMywf64ViHMYm34IGtwxcuCsZQu7Czp1MhV4kv+HDYYk1pYZ ntGIXoDs7nFYfdCIzsx+xHsPopAnULDY2yiQeGLwfdx80nHXhLxTJnYbDxnYHrbz8Cc4 6Ocw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:mime-version:dkim-signature; bh=/7kpylh0DFfkHHWAOwcR79ZPvCJMRxID3i22/+RvTqA=; b=deipj5lD2WK9+vODY39vxwLwYRusHfDXLshCPMmzOTZfi14Z5cqkyXEsIksMTBEgbK jwwmNBtn5a9krgxbK8gUvydhCwsud0wT9QXr/0Z5HtlJlizHdqDWpijlsHPHTD1U2h3o AUx5Z36H+GGdY8tWTmh+l1GA4kjlzooyHo9B/l6Leigs+aV4FWjkL7U3sL+279DegywM auDJ9N40n3zXtWhnUQ4AGNa2in28N+/ukXJ50gih9s64zIqYVgGvPk3ekCvUC+f5JADO nr5eeAo40/9/yds0N/xRapF5EpbNCCgTlmURin0C/5MkYPCP1Eu16QjyROgmFwFXA7i8 x5Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dqUl9Ad5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz19si3211808edb.40.2020.06.05.03.25.02; Fri, 05 Jun 2020 03:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dqUl9Ad5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726553AbgFEKWa (ORCPT + 99 others); Fri, 5 Jun 2020 06:22:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbgFEKWD (ORCPT ); Fri, 5 Jun 2020 06:22:03 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00586C08C5C5 for ; Fri, 5 Jun 2020 03:22:02 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id x93so7003280ede.9 for ; Fri, 05 Jun 2020 03:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=/7kpylh0DFfkHHWAOwcR79ZPvCJMRxID3i22/+RvTqA=; b=dqUl9Ad5uySoQuXHTyZVmFzbMV6TUk4Mi0qyrrDyIdYbPM+WdFgPc3fKoUO4dqHImT PLJIIVcSv6uz8BDrZz2aFGyhXCJw/SSKenHv+pnJkbkLG3Lcoc81iQtgyo7xj6Pnsq/S CvSOrUEaYFfbxrjH6WsQLhZkixn222abgZTtNNWlqytjKL9nqR+5rISIUdXzZ3qBgy1x 4D75jX/vXWZ7cDW+XPpo09lpD7j4X4WrNeUcB733RhKzyIgZHLAVVqS0sFOFFO0iEhR/ mEEr4lIcUVJd4LCjnATtYboYULDHlN5lL4skuDi+JW4PjBZpYUcni5kHM9Ht4XRi2czG AioQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=/7kpylh0DFfkHHWAOwcR79ZPvCJMRxID3i22/+RvTqA=; b=UTtTP4v4awuahoXyRtRc4CREGL3E48pP7J7W95j/guaAw92bWMSKGTAXt0i5mOKRZy iGDFtoXU9RjnOUB3jwFXruGu9W1wvOdu5QdenXLz51OXMN72VTW7EEL0hv2qnDRQlBlt 5m7u4f1J+S/QSxPy/iY3UhfqQkTpCMR+QGDd4MxQJSOp5c2ow3EIjkLJ3Hep5nrp0osn GMOqD1gHyOVzLte8K3frgCLyZW9QQw/eERWjEzTx96cBXhd7RwWEJFSu2+mmxyDSRsCW cfhAr4eiXDelYA+PBkaQAs3EeO0aRO+ZswLx3aysKpxIdc4XFhsqRacmlqA43J1kgTKC U/vQ== X-Gm-Message-State: AOAM533pZ9XDYD77RNyMAivyce+6+BjAfy4IHuGeGXe9LwO/k5NaX1F2 z3/tTX2CJMn7uWs4c/E5oEsz66gon3AtQyqzXES+6DEJkgE= X-Received: by 2002:aa7:da8c:: with SMTP id q12mr8766574eds.385.1591352520428; Fri, 05 Jun 2020 03:22:00 -0700 (PDT) MIME-Version: 1.0 From: Anatoly Pugachev Date: Fri, 5 Jun 2020 13:21:49 +0300 Message-ID: Subject: unable to compile after "module: Make module_enable_ro() static again" To: Linux Kernel list , Josh Poimboeuf Cc: Jessica Yu , Jiri Kosina Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! i'm unable to compile kernel on debian sid/unstable (tested on sparc64 and ppc64) after commit e6eff4376e2897c2e14b70d87bf7284cdb093830 ~/linux-2.6$ git bisect bad e6eff4376e2897c2e14b70d87bf7284cdb093830 is the first bad commit commit e6eff4376e2897c2e14b70d87bf7284cdb093830 Author: Josh Poimboeuf Date: Wed Apr 29 10:24:53 2020 -0500 module: Make module_enable_ro() static again Now that module_enable_ro() has no more external users, make it static again. Suggested-by: Jessica Yu Signed-off-by: Josh Poimboeuf Acked-by: Jessica Yu Signed-off-by: Jiri Kosina include/linux/module.h | 6 ------ kernel/module.c | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) git bisect log : ~/linux-2.6$ git bisect log git bisect start # bad: [435faf5c218a47fd6258187f62d9bb1009717896] Merge tag 'riscv-for-linus-5.8-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux git bisect bad 435faf5c218a47fd6258187f62d9bb1009717896 # good: [6929f71e46bdddbf1c4d67c2728648176c67c555] atomisp: avoid warning about unused function git bisect good 6929f71e46bdddbf1c4d67c2728648176c67c555 # bad: [694b5a5d313f3997764b67d52bab66ec7e59e714] Merge tag 'arm-soc-5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc git bisect bad 694b5a5d313f3997764b67d52bab66ec7e59e714 # good: [d9b8fbf15d05350b36081eddafcf7b15aa1add50] ALSA: es1688: Add the missed snd_card_free() git bisect good d9b8fbf15d05350b36081eddafcf7b15aa1add50 # bad: [9ff7258575d5fee011649d20cc56de720a395191] Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace git bisect bad 9ff7258575d5fee011649d20cc56de720a395191 # good: [acf25aa66371359f542d14e8d993b530fe25d7ac] Merge tag 'Smack-for-5.8' of git://github.com/cschaufler/smack-next git bisect good acf25aa66371359f542d14e8d993b530fe25d7ac # good: [86c67ce20d080bdfefafd461d3068cad0a49a66b] Merge tag 'leds-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds git bisect good 86c67ce20d080bdfefafd461d3068cad0a49a66b # bad: [9fb4c5250f10dc4d8257cd766991be690eb25c5b] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/l= ivepatching git bisect bad 9fb4c5250f10dc4d8257cd766991be690eb25c5b # good: [16ba7e312045cd5d32fba0156312b4303f200787] Merge branches 'for-5.7/upstream-fixes', 'for-5.8/apple', 'for-5.8/asus', 'for-5.8/core', 'for-5.8/intel-ish', 'for-5.8/logitech', 'for-5.8/mcp2221' and 'for-5.8/multitouch' into for-linus git bisect good 16ba7e312045cd5d32fba0156312b4303f200787 # good: [5b384f933590a086ca9a0abdc2e55e41107ac440] x86/module: Use text_mutex in apply_relocate_add() git bisect good 5b384f933590a086ca9a0abdc2e55e41107ac440 # bad: [f55d9895884b1e816f95b5109b4b3827ae18c4ab] MAINTAINERS: add lib/livepatch to LIVE PATCHING git bisect bad f55d9895884b1e816f95b5109b4b3827ae18c4ab # bad: [2a4248749624a38ebddcd1fd82bbab8132d655ad] MAINTAINERS: adjust to livepatch .klp.arch removal git bisect bad 2a4248749624a38ebddcd1fd82bbab8132d655ad # bad: [e6eff4376e2897c2e14b70d87bf7284cdb093830] module: Make module_enable_ro() static again git bisect bad e6eff4376e2897c2e14b70d87bf7284cdb093830 # first bad commit: [e6eff4376e2897c2e14b70d87bf7284cdb093830] module: Make module_enable_ro() static again error message is : ~/linux-2.6$ make -j 24 CALL scripts/atomic/check-atomics.sh CALL scripts/checksyscalls.sh :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] CHK include/generated/compile.h CC kernel/module.o kernel/module.c: In function =E2=80=98do_init_module=E2=80=99: kernel/module.c:3576:2: error: implicit declaration of function =E2=80=98module_enable_ro=E2=80=99; did you mean =E2=80=98module_enable_x= =E2=80=99? [-Werror=3Dimplicit-function-declaration] 3576 | module_enable_ro(mod, true); | ^~~~~~~~~~~~~~~~ | module_enable_x cc1: some warnings being treated as errors make[1]: *** [scripts/Makefile.build:266: kernel/module.o] Error 1 make: *** [Makefile:1722: kernel] Error 2 $ gcc --version gcc (Debian 9.3.0-12) 9.3.0