Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5643944ybl; Tue, 10 Dec 2019 09:12:06 -0800 (PST) X-Google-Smtp-Source: APXvYqx1iXpugoY1/KqHHLBUwhgdGbg7rdiPGLu4QVSNtb50W5ALeDLZimJc3cnSyVqi/kj2nKwa X-Received: by 2002:aca:b48a:: with SMTP id d132mr4632593oif.111.1575997926228; Tue, 10 Dec 2019 09:12:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575997926; cv=none; d=google.com; s=arc-20160816; b=cNXhtdstarqAu3O+Gy+oknjKOus6Dw8S+f/4RUJSjjmGQdlniWuzHmRIKvqQcsqOVQ CHm65SyGmG6khKZUHt4QqKieBNjtGov22SZDVYMLnYO+dbei1t3PIETYDCkR/IF9bV/u TGmL6k3Gp0OSSNIE5XYthCT4NpjasJkEmck669nZUHyzEaHx590JjnUy83wXjgQesEbr 9HDe+IaWvQEoKhcLOolS6aGai/uH/sDDHAkeymVrmMgudLSDhCkBDoUgIF8aKPI7x4aQ H5XUfrP9JtrApZcKv+zHHJrXMyywP4+zZy9y9vs4LWoXKmpE/eE4XvOHzqdKQL4fquyI RitQ== 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:dkim-signature; bh=ieF5xZ/8Wpa93L9RcsyCzivv7UxtKR/9LQicNKqMIN8=; b=gXh5Hz30XIDJTR42uXZriBGryWDJ3iZLsv06AsZ5z2rlCpvhOq12VeQxYuhTJ4etmB Z0JrgHhJ9T4rL3xg98Ee4UTJR9joVPPHF3bdyOEhJJeeXiG++dqVsM4Uh2n3/9jWrQc+ HoDGd7JgCH6aZz3HBuASizPWiGBILaQhl7Y3TjHwaKp3GFIWsIq2j7vqZylk6Kl1l2TZ JzvAee3fuInsKkZ3Pfd95SiIKNwqjXyOv3lsfi5W4QtWaP32BPEAb5/MFPITL2mkR8Ih 6EaZl3FORUtppcXnE/4bskL9omAc349/UIcBy1TV7dieS1lkyVRBmZpd7lvldQuYQZER wHVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=IlcUnQKg; 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d67si2266128oig.112.2019.12.10.09.11.53; Tue, 10 Dec 2019 09:12:06 -0800 (PST) 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=fail header.i=@crapouillou.net header.s=mail header.b=IlcUnQKg; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727719AbfLJRLS (ORCPT + 99 others); Tue, 10 Dec 2019 12:11:18 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:44542 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726780AbfLJRLR (ORCPT ); Tue, 10 Dec 2019 12:11:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1575997875; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=ieF5xZ/8Wpa93L9RcsyCzivv7UxtKR/9LQicNKqMIN8=; b=IlcUnQKg4IzdB3E9wLwHX2m2k57dEFlmC13YAE/M/w8bWBPhvbNgw1xB9Cj9AFNUGkMvOR r4/JEfw2OqRIJpF/n39FoReLCaEry/vXnKIzRToetKJ9ftRqTf5CKp9us9iy2FWbtBevrw dBXSptNFmRBK0c3JglRmcjzP0FrKUA4= From: Paul Cercueil To: Bin Liu , Greg Kroah-Hartman Cc: od@zcrc.me, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil , Artur Rojek Subject: [PATCH v3 1/7] usb: musb: dma: Correct parameter passed to IRQ handler Date: Tue, 10 Dec 2019 18:11:04 +0100 Message-Id: <20191210171110.62141-1-paul@crapouillou.net> 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 The IRQ handler was passed a pointer to a struct dma_controller, but the argument was then casted to a pointer to a struct musb_dma_controller. Signed-off-by: Paul Cercueil Tested-by: Artur Rojek --- Notes: v2: Rebase on 5.4-rc4 v3: Rebase on 5.5-rc1 drivers/usb/musb/musbhsdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/musbhsdma.c b/drivers/usb/musb/musbhsdma.c index 5fc6825745f2..2d3751d885b4 100644 --- a/drivers/usb/musb/musbhsdma.c +++ b/drivers/usb/musb/musbhsdma.c @@ -425,7 +425,7 @@ struct dma_controller *musbhs_dma_controller_create(struct musb *musb, controller->controller.channel_abort = dma_channel_abort; if (request_irq(irq, dma_controller_irq, 0, - dev_name(musb->controller), &controller->controller)) { + dev_name(musb->controller), controller)) { dev_err(dev, "request_irq %d failed!\n", irq); musb_dma_controller_destroy(&controller->controller); -- 2.24.0