Received: by 10.213.65.68 with SMTP id h4csp433302imn; Tue, 13 Mar 2018 08:55:24 -0700 (PDT) X-Google-Smtp-Source: AG47ELspzSeLcNeyzPrR2cnB97lgKxX8Nr+cMr1xuOE66Y36juhkM8GrIVpjdKHiD5HGtFstzAj0 X-Received: by 10.98.19.146 with SMTP id 18mr1086189pft.3.1520956524544; Tue, 13 Mar 2018 08:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520956524; cv=none; d=google.com; s=arc-20160816; b=r/EEwGHWh/IiDhOSRfgqeyUmqOsurW7KXoKdYXB4zHklvseMrQL4giCjCIFz/kZEpE 5qvNQGL7vWk2CKlILfk7ippsMBRbrg/1SAwiqWKvCRBb9GbYcJ1zOEE4odhpar216Fmy iZRum1NZXyXqOcSCWdNIvPysqXO6w4jfs+4vzTRzw0hesN0n8oSJ+IOWgu/hu6KwN9oD qs8M/da08+NG3ZnKLijAkxbwL4GQ2vP5JVnwAOCy19yoPa7osvj1qlsn9xhxmdskFuAF +vrGQfMwpW96QI1vf9G9kfxweQZkAXz7a4qc1yD8hAG1eGf8s3KYvt4Ry1w17kS+KSBP Vmbw== 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=qEEtOXAZJHOBPrIJjDAi5AjDfCICYYXwZugM04dmcZ8=; b=yMA88ZC5Ljmg64Y2aQ9nGi5q2uniTpcui55L3mIZqUKykv4hETpJLwsZ07RuQfMK1F DS5i3wkIFuGHAywQMIwv69S/LHIrJO2JMVrcKNwygSA74bFQRi00svgeLfaiJ2wqJ2Rw X1bq29OMxBd0tFanjSO14t4469f0andRwYdQi5/Tddak0cujR5YerPso9nFajHDU4jRe plEBkvIGyWrpHsc/cvav6nVA58D0j5QKgDNGk5yB3yiwCqqHBNwt6qwqnb6KfFKIwNiq g9VU4+914YXfgi6PMZvgjAKB/83q9+RUpChXYXB+12YBsTYzlAkpF65a+tQoMbFXkd4S 73wQ== 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 h32-v6si316493pld.217.2018.03.13.08.55.10; Tue, 13 Mar 2018 08:55:24 -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 S1753158AbeCMPxc (ORCPT + 99 others); Tue, 13 Mar 2018 11:53:32 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35272 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934700AbeCMPjS (ORCPT ); Tue, 13 Mar 2018 11:39:18 -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 13672F32; Tue, 13 Mar 2018 15:39:17 +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.14 086/140] Documentation/sphinx: Fix Directive import error Date: Tue, 13 Mar 2018 16:24:49 +0100 Message-Id: <20180313152503.932572367@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152458.201155692@linuxfoundation.org> References: <20180313152458.201155692@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.14-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'