Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp469561yba; Wed, 15 May 2019 04:41:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxt6Ee1u7xlfY6eIFDO2nngsph+0JytKfX8rFM/nq0MncSSe7OGr5TP8NrNoqnmnNWbvXjM X-Received: by 2002:a17:902:8ec6:: with SMTP id x6mr42250730plo.123.1557920462765; Wed, 15 May 2019 04:41:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557920462; cv=none; d=google.com; s=arc-20160816; b=A/nFWYyeHHdqYvhJm09qYI87FNBXK02/6rTqd7zz2CF+BWhZXdV3KGHA4o+lYesafd xqHv54U7ToVtK+E8CuhRifBUsq8c14CpxKYAIfkz/IwneFmuaPjdBV5sNlz6jJ+8058/ 7QnwCUgpll4FgfxantA/FQgz6LmG3XjmQ6Z3pWlQtzrFxs8h0QjNSKSKkVnrQx1bGaY3 xuWh8h3VskY4rrnAoF1Q3G15eFamZ3CF7uk5Jv73mnP9FNbC4hRrIfDDG7gtCR10u9BI pqCcyUysd0vHfvjOYfhPVXIA3r9wHVgMU81nEyCPYt3vWK+ka2V0T5msD8PXgHulpKcy tOnA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=y5qveCiIOHBdHqdKkKE3MM6DRQc6OIh71M156Eq75Ms=; b=oLq8wKViQu8F5I3OL7baz5Ua1NIfTpovsFrPLHrMKQPXX5mOCO10G1gPgi78SAQPEZ Rqf/7RWMIXR5WVlhHAJjzWYrkKIQIFgq1AhfpY68BYU3RVCJ5o7J9KEPeAt32VvnL+Lj 4S4I1r9tzI4VPAU2NAForEF+CEwrFYy25P4SBi5F+anKunzktUjyURboGTsOk4N6cbPo q1K7WpW5o1jcWk9O2yXdIq4Zt8m0pMcRhs5BjN30USJuj7SjbqG9UgZFVLHL5wrc+yKf qoXhwd3Z4GN3wFKQmi5OcDH/lpGRiM4+5DBE0gROX1Wd+HRISgriXW/XmPXTS/lucm+b RbEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vO3RnjZY; 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 v4si1504607plp.404.2019.05.15.04.40.48; Wed, 15 May 2019 04:41:02 -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; dkim=pass header.i=@kernel.org header.s=default header.b=vO3RnjZY; 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 S1731601AbfEOLas (ORCPT + 99 others); Wed, 15 May 2019 07:30:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:42308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732766AbfEOLam (ORCPT ); Wed, 15 May 2019 07:30:42 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 35A2820843; Wed, 15 May 2019 11:30:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557919841; bh=A5n4mTZtTb5EEfrTR3AlfarJ5yVRdt4gFPUi2LZqFk4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vO3RnjZYHACO5+TldRahTeO0EiRn9ACQodE0t6zNFSZTDidut5rOH9ymeLgEP0QF5 KEwbLIwl2JDY8L+eZ7JBwz5DjiZph/pwyYqtOEXBREffXWh8sXlmN7uA8CnQ9Sm9+G 50oKzH3E7G2uH6HwVIPG6aBDMnkYE+DBnDT26z+M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Bogendoerfer , "David S. Miller" Subject: [PATCH 5.0 113/137] net: seeq: fix crash caused by not set dev.parent Date: Wed, 15 May 2019 12:56:34 +0200 Message-Id: <20190515090701.794869633@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190515090651.633556783@linuxfoundation.org> References: <20190515090651.633556783@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Bogendoerfer [ Upstream commit 5afcd14cfc7fed1bcc8abcee2cef82732772bfc2 ] The old MIPS implementation of dma_cache_sync() didn't use the dev argument, but commit c9eb6172c328 ("dma-mapping: turn dma_cache_sync into a dma_map_ops method") changed that, so we now need to set dev.parent. Signed-off-by: Thomas Bogendoerfer Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/seeq/sgiseeq.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/seeq/sgiseeq.c +++ b/drivers/net/ethernet/seeq/sgiseeq.c @@ -735,6 +735,7 @@ static int sgiseeq_probe(struct platform } platform_set_drvdata(pdev, dev); + SET_NETDEV_DEV(dev, &pdev->dev); sp = netdev_priv(dev); /* Make private data page aligned */