Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7140162ybi; Thu, 13 Jun 2019 10:13:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwo+n4uVUcwvH5hL8dzeV1A7Ix1ls1r9h1wkXGdXou6YqpjlfKO9BLrAsYIeFDTriJd3tVG X-Received: by 2002:aa7:8d4d:: with SMTP id s13mr84788164pfe.259.1560446038410; Thu, 13 Jun 2019 10:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560446038; cv=none; d=google.com; s=arc-20160816; b=lWmdQrtxccHXo7ChNqm4bQ3B9mydLVCjnEwjZPQfA4Da88GGAYJCH/dZvqRSmZX7El BMvD5l0z/JhZW6Ai65VrLNNvWp49nMJ5VdC8llVGEW6NtB8QQTq8K/KdB97nLkBDFrPL kHv/VEtpCrU1Q2Wpkv0mUrQa8VH9d7O6KgBATZpXD0m42UsXxw/SGE7khlwQ4FJOxFww Fe++rToKfkivdsIM3QEqTSMS7PQ+cPIS+YbkKCvHY8s1gw9zkhmTyZv7st3cYYGe3C94 yyTKXsXF9PES9jyXN0ri8Ucq1yewCWiWWcnlVzTTVFJcb9EiGYEz02k59dSV8WmV4o2J igmA== 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:mime-version :message-id:date:subject:cc:to:from; bh=rtjjxJbZCnNJbQ4rRmAh0Ahovsd/DILFvQwc++jpSoQ=; b=NtixMli7tt5nDHfqkmepNhQtCwI5EitIsWoAKi2Y6vbJUhBbR9lbdr/fvt1cRq248Q LOe6LQWrno3b70sSJZScb0bPM8TdfsJnsPHuRC17awwU9VOR2VeEEWj4fs2zD2vPMwSY Fpm3so56PSwwYmtmirohwPkH/sAOHHtNx/ct+lw5xmgIy7Vh4hbbkjGvgtrTM9cjaWwp Ejm9CYF09KZZlmseGqPaZH+zqykNhzHBbB/RIC+VOchny8b2a3fNoGZ9IBZ9bdLyin3w V+Ay6Vfd/92xUgLdB8Ee0vCR9gGGb4FecVaTtmjZ5GV0SYp3+bF9y0cT6QdfBAu15gtX He9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q15si112987pfh.284.2019.06.13.10.13.43; Thu, 13 Jun 2019 10:13:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404737AbfFMRN0 (ORCPT + 99 others); Thu, 13 Jun 2019 13:13:26 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34881 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728981AbfFLWB0 (ORCPT ); Wed, 12 Jun 2019 18:01:26 -0400 Received: by mail-wr1-f65.google.com with SMTP id m3so18557612wrv.2 for ; Wed, 12 Jun 2019 15:01:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rtjjxJbZCnNJbQ4rRmAh0Ahovsd/DILFvQwc++jpSoQ=; b=a2ORLIoZf9N5iqjC2ggsM8Hh1mhSo5nxnJ/DZap0cc/9kBYXO6LDjFn1n+SoxVjOsC PV11oWZ2YNZtPTveKxaJ8gh89ChWF049yutZ4Jxxo8Gib1JOvxQn3ohhDOSXgJLGiScX ZGRnyphL4n2zKqEc9M3p9+r2MsY0ZCujvKR1EgGkj/zYj6jL44QF9aMKglsZAnaoQoky sZqToFv7FnnmRJ2kh+lIf9Oy2TLZYeRuaN8MMw3gWfRWlDa1Fig3fB6LyzpC9FauHrA2 s26CsgA4GBiUteX8gczWeWafn+7Bg53GrB0jUa0xJ+r/ok9mPiIJF15s368jgexnobZp 21oA== X-Gm-Message-State: APjAAAV8a3Kd8PgVySRnifK3fj72RRZBqAhUZELwJQ+h8GNlX5FFoz9i aJHRCq92RfEjJyIDvVlVi6RRWA== X-Received: by 2002:adf:d081:: with SMTP id y1mr11088437wrh.34.1560376884297; Wed, 12 Jun 2019 15:01:24 -0700 (PDT) Received: from raver.teknoraver.net (net-93-144-152-91.cust.dsl.teletu.it. [93.144.152.91]) by smtp.gmail.com with ESMTPSA id i188sm929448wma.27.2019.06.12.15.01.22 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 15:01:23 -0700 (PDT) From: Matteo Croce To: Andrew Morton , linux-next@vger.kernel.org Cc: Song Liu , linux-kernel@vger.kernel.org, Johannes Weiner , Aaron Tomlin Subject: [PATCH linux-next] sysctl: fix build error Date: Thu, 13 Jun 2019 00:01:20 +0200 Message-Id: <20190612220120.31312-1-mcroce@redhat.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit cefdca0a86be ("userfaultfd/sysctl: add vm.unprivileged_userfaultfd") reintroduces a reference to 'zero' and 'one'. Use the SYSCTL_{ZERO,ONE} symbols instead. Reported-by: kbuild test robot Signed-off-by: Matteo Croce --- kernel/sysctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index c77174336d16..4dce89d74a40 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1735,8 +1735,8 @@ static struct ctl_table vm_table[] = { .maxlen = sizeof(sysctl_unprivileged_userfaultfd), .mode = 0644, .proc_handler = proc_dointvec_minmax, - .extra1 = &zero, - .extra2 = &one, + .extra1 = SYSCTL_ZERO, + .extra2 = SYSCTL_ONE, }, #endif { } -- 2.21.0