Received: by 10.213.65.68 with SMTP id h4csp465036imn; Tue, 13 Mar 2018 09:54:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELuerpaL4CDvc6MhdaUjSQMndBXsjiwUcV+0LP8UtW2haaHaUiYkmI7UHxUpkgSRcGqPbzs9 X-Received: by 2002:a17:902:6c46:: with SMTP id h6-v6mr1164283pln.333.1520960095327; Tue, 13 Mar 2018 09:54:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520960095; cv=none; d=google.com; s=arc-20160816; b=OqVZmiW5MGnu586yc4t4SFW867aACNIj+r6PYo/OSkFr2XmwNpMwq+LSntDPGP+PXY /it19YgQJeSlIxbHjYaVlJF7AZz9Isyo2C4coB3CqHNOCEfLqiAQWA6oytfWWorUEZwN nKc9cLxRL2Yc0EEkfa63xvctbSLl7NjydqQlVTCZJiypYueUlTV0VAGrnSz8I5w/Qgfx XqRNMHY76oCYGF8BjNpSfIHOXyYf6Z76AqcSUsYrm1hYK1KuUSZmL9OShKUaXtC4B2Zr ZO8tZLQxRiAuh1J/nlM8gS5SwddiPiXFQkA4GfeNUN1vl2aBZJjbMeuLIYr9hrGjOSf0 rd+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Hhccz2K6nZLlrRyeZc0pjmMAW53Mep5X4/7EFRZvmEE=; b=drLeaZSWcsL6EMfgEJtHKTypOw2yYO2TSBOFWH2EMdbcRuSOQFHT5EJwXm7REMBTkB 4/uyD69w+IBIpMUxF1Mn/O8Qh2jRdbAcUg2vg6wMIf2j7kFFIaobC1e8bJS171Tw8Adt TzeVzQGNbjFdWQ7rr4agbXSgQ0oDohdLolHII/qqx3uU+D7kaY8n7G4OutVZHwfIdzGH PSqvrBpW1PqpOQ6WVIdo4pNkQmaBrtcPgz6IRfcdNVfMj5u5DWHz563CRBpfn4ev9t85 XiUpY7/0Vv2m9z3SbOkqEjCsDS+gmi/bdGGX7C3BTRG52dr6OQKaFiTBND8H3s8/PJf3 i3Vw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e34-v6si320279plb.588.2018.03.13.09.54.40; Tue, 13 Mar 2018 09:54:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933353AbeCMQxB (ORCPT + 99 others); Tue, 13 Mar 2018 12:53:01 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59036 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751572AbeCMPa5 (ORCPT ); Tue, 13 Mar 2018 11:30:57 -0400 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5A20411B3; Tue, 13 Mar 2018 15:30:56 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jani Nikula , Matthew Wilcox , Jonathan Corbet Subject: [PATCH 4.15 050/146] Documentation/sphinx: Fix Directive import error Date: Tue, 13 Mar 2018 16:23:37 +0100 Message-Id: <20180313152324.512457634@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152320.439085687@linuxfoundation.org> References: <20180313152320.439085687@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Matthew Wilcox commit ff690eeed804f112242f9a0614eafdf559f9276a upstream. Sphinx 1.7 removed sphinx.util.compat.Directive so people who have upgraded cannot build the documentation. Switch to docutils.parsers.rst.Directive which has been available since docutils 0.5 released in 2009. Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1083694 Co-developed-by: Takashi Iwai Acked-by: Jani Nikula Cc: stable@vger.kernel.org Signed-off-by: Matthew Wilcox Signed-off-by: Jonathan Corbet Signed-off-by: Greg Kroah-Hartman --- Documentation/sphinx/kerneldoc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/Documentation/sphinx/kerneldoc.py +++ b/Documentation/sphinx/kerneldoc.py @@ -36,8 +36,7 @@ import glob from docutils import nodes, statemachine from docutils.statemachine import ViewList -from docutils.parsers.rst import directives -from sphinx.util.compat import Directive +from docutils.parsers.rst import directives, Directive from sphinx.ext.autodoc import AutodocReporter __version__ = '1.0'