Received: by 10.192.165.156 with SMTP id m28csp79582imm; Tue, 10 Apr 2018 16:52:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx49hE1RJYPOIojIynXelDgRjbJI5T/TdWE//6+qFPVxnBkGIRgA6TSpEuwqkzSNGq/cOjqDN X-Received: by 2002:a17:902:6ec5:: with SMTP id l5-v6mr2502872pln.113.1523404333057; Tue, 10 Apr 2018 16:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523404333; cv=none; d=google.com; s=arc-20160816; b=kFo2YMPjqKGCmaIxp9/8DlPQy3NaAxInjWJSeMfZRPk2aEKgEOW5piai6pc2vMityf LRmUBxqE8999A6ysHHOKtjeqd7dQcAIQDU3p5GUgCFva73tinJ2l0cAmqfsZdyvR7XS/ fCR10YhPyKYjQpWbxGUvz+Y3d5L1JMtf4V9fW0GZIm7/bHjmKexjMdW/SJepqTxtL6ia TZocGDn6vfX/8aO2QQLDq1qEahjGBpAF7vPkg+kaJrOoJl1iEMyOjGpQsflccAhexqEs YJLT4FmZ2+ALmrxv3+xSFJ3RbVOw3aA03r06S8GWVd6SMm2kaXFvjMfDbYghW+Fo7NVM F1xw== 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=zEQ8N40iIsno1tpxutKcVVkWocfTNsxhhPjdbaV+nNA=; b=lEG/yYBp0/Nx0sI/5qxPb1W/DQ1gVgx7U48SnP9m4DGJU8uEAz7dOeTee8+5U9vi0O oE0cSQ6mk6mHh81v8n40xDQ9BBO+A0wVtbFk5oFAfP4+1zvmM62gKpgWpgJa5hL5jtIw k+woFJtPHejWelFcEOqIe494e/yZ0Fkrtp6birrBCiqot5BKxbHjdHDXUaGoY6u03voe 4ZCzcJ/Fu+lHNIlgXWPYAJqj3qWFOidVvQuFeWDmn8TGzWAaM8OcqqIDkkfa3AIqjtfP jnhjwKhhM6+FjuMZtTSN1wDIXAhpsqlVP9Q/iezY5ADIlwytIerq2MLznvUQZRXF/q0i Alkg== 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 11-v6si3535893plb.658.2018.04.10.16.51.36; Tue, 10 Apr 2018 16:52:13 -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 S1752376AbeDJWYX (ORCPT + 99 others); Tue, 10 Apr 2018 18:24:23 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36716 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274AbeDJWYU (ORCPT ); Tue, 10 Apr 2018 18:24:20 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9E6B4CF9; Tue, 10 Apr 2018 22:24:19 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kees Cook , Guenter Roeck , "David S. Miller" Subject: [PATCH 4.16 01/18] sparc64: Oracle DAX driver depends on SPARC64 Date: Wed, 11 Apr 2018 00:23:36 +0200 Message-Id: <20180410212758.638047196@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180410212758.564682823@linuxfoundation.org> References: <20180410212758.564682823@linuxfoundation.org> User-Agent: quilt/0.65 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.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Guenter Roeck commit 9c548bb5823dfcf7a16c6e65976d84d9581208c9 upstream. sparc:allmodconfig fails to build as follows. ERROR: "mdesc_release" [drivers/sbus/char/oradax.ko] undefined! ERROR: "sun4v_hvapi_register" [drivers/sbus/char/oradax.ko] undefined! ERROR: "mdesc_get_property" [drivers/sbus/char/oradax.ko] undefined! ERROR: "mdesc_node_by_name" [drivers/sbus/char/oradax.ko] undefined! ERROR: "mdesc_grab" [drivers/sbus/char/oradax.ko] undefined! ERROR: "sun4v_ccb_info" [drivers/sbus/char/oradax.ko] undefined! ERROR: "sun4v_ccb_submit" [drivers/sbus/char/oradax.ko] undefined! ERROR: "sun4v_ccb_kill" [drivers/sbus/char/oradax.ko] undefined! The symbols are only available with SPARC64 builds, thus the driver depends on it. Fixes: dd0273284c74 ("sparc64: Oracle DAX driver") Cc: Kees Cook Signed-off-by: Guenter Roeck Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/sbus/char/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/sbus/char/Kconfig +++ b/drivers/sbus/char/Kconfig @@ -72,7 +72,8 @@ config DISPLAY7SEG config ORACLE_DAX tristate "Oracle Data Analytics Accelerator" - default m if SPARC64 + depends on SPARC64 + default m help Driver for Oracle Data Analytics Accelerator, which is a coprocessor that performs database operations in hardware.