Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3922372ybz; Mon, 20 Apr 2020 11:57:15 -0700 (PDT) X-Google-Smtp-Source: APiQypKnD9Ha34NTtv8Ilq/TEMRkVH3KOONsYubHEWpvCNa094S0viQnxa2F8kauxWGZQjmlL+UY X-Received: by 2002:a17:906:da1b:: with SMTP id fi27mr17323174ejb.194.1587409035078; Mon, 20 Apr 2020 11:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587409035; cv=none; d=google.com; s=arc-20160816; b=LFjv+LHjZjTOIX339j3c6WQaG5bgmRZev0NcH64mZYAyaY1T1ynXPxsvmO7LgEZeou QQ6zkxU//3F8Fgmtruu/4VKMrJy7E+9XGmqr9HDpOJmgrnlma6E6vy19oWm4qRxgOgsG ZxdZ22ifIVgFmwC1gl4t41hWMSRh5ekBHLWtKmkShKHZU6+D3MTmgmUfmSgppfoY1K3l FD2DDOwXdvuzTtzPLVnry74P1O9UPohodcx6pL5AiVMRqxT1JG7y1L6eSCsFCBGnTaUI KxmYEaaUYmwHCJeyx3CG0uepB01j8+uhK/wK1xNLeSPQvuRxsjcjbyLVE0G2XaaSfW8O ck+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tFwuNr0TgSQRNNXpMtC3V2slHHf02xlAMZDjaN+7RAc=; b=TS4MrsEgb1aoOXevVbNeYaW/au8lRk/xRgalj8Rn/ofUK4H9Neq1AhGJ31ndZavUfw vwc+ZVC+ZNXMdVmyFKzzpgu0NPwbzHiVok4mnic20MdzUSgKz2IBidOOloeva6nMtPuu M099ZQh8wQxt1CJMd0XfWr/Tp3i861F+VaEwOsJBm6Fmx8Q6ycQgPuK98fo1JRsuppX8 jmfRLq+pDapcWPifXQp/e6Z4k3DU5GGg8F7T2dtH8xhV2oPXOhqpkPxB2HjUmOyYKuP4 CX6O3EoTERcj7RBdDPIyhN1VjVuLFt2NagGwvMA20FozMn5jsKV6PnuujDvoN4n1FPuT z04A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Qf/ecC7L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gg16si70545ejb.310.2020.04.20.11.56.51; Mon, 20 Apr 2020 11:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Qf/ecC7L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbgDTSyR (ORCPT + 99 others); Mon, 20 Apr 2020 14:54:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726328AbgDTSyR (ORCPT ); Mon, 20 Apr 2020 14:54:17 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8D52C061A0F for ; Mon, 20 Apr 2020 11:54:16 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id b2so5769120ljp.4 for ; Mon, 20 Apr 2020 11:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tFwuNr0TgSQRNNXpMtC3V2slHHf02xlAMZDjaN+7RAc=; b=Qf/ecC7Lp+kohe1FrviknG4/IQqC/abCMx7cMJ8Qh/SH7PU6FDeUEAPzC0J/Du8RJZ L080nkD48kiih0pnK6PLPLWsJGLm6S1RVXu/dcSHWNi9AViGgBDdLNWUx/C05aivFcZa FUUpFkc0Q4n7UHOZTdTU+Tuts0aAXCfIAirO8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tFwuNr0TgSQRNNXpMtC3V2slHHf02xlAMZDjaN+7RAc=; b=Ls9zdj+YeYKk9oAIxscPEZakFs8meOZck/QVpDiJhllR1KrB4TbwSixsGv+eMMdcBY ZyY6Sa5dGFFsdXr9cWdOSXw2jhxlwmt22hbt+T0yQ8uDnuA0HhZnaMKtoS8dDl0gdxBZ +0XfwpptPr+N6VlE8mDw2Em8s7JPRXz9uz7a2NbvIo2s2zpWCoCXz2pe7tBXDsKHA/y7 6vaRJ4mwAdvScbWADU8Rzg6/WnvuDtTyNwOdsEiTSSZQExpK6OJWPvkDywKqnD1n4O62 Gc/S73pwdWcBmz3nlOGphFyC33xwYsZNCnmK+hSo2RR/W/n5eioskz/hVDbJ2919Rz5K 4Onw== X-Gm-Message-State: AGi0PublrbFtKhEH8oX93ecLNEyzRwSQuXUVivp0qOFTY9O1rhdnlIIT FAblooB3NWZ2W+zFKnulgCmYXuOmcXI= X-Received: by 2002:a2e:7308:: with SMTP id o8mr3172903ljc.16.1587408854794; Mon, 20 Apr 2020 11:54:14 -0700 (PDT) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com. [209.85.208.174]) by smtp.gmail.com with ESMTPSA id z9sm237771lfd.9.2020.04.20.11.54.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Apr 2020 11:54:13 -0700 (PDT) Received: by mail-lj1-f174.google.com with SMTP id z26so11217743ljz.11 for ; Mon, 20 Apr 2020 11:54:13 -0700 (PDT) X-Received: by 2002:a2e:b0f5:: with SMTP id h21mr6912419ljl.3.1587408852757; Mon, 20 Apr 2020 11:54:12 -0700 (PDT) MIME-Version: 1.0 References: <20200415071619.6052-1-sibis@codeaurora.org> <20200415071619.6052-2-sibis@codeaurora.org> In-Reply-To: <20200415071619.6052-2-sibis@codeaurora.org> From: Evan Green Date: Mon, 20 Apr 2020 11:53:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] remoteproc: qcom_q6v5_mss: Remove unused q6v5_da_to_va function To: Sibi Sankar Cc: Bjorn Andersson , Andy Gross , linux-arm-msm , LKML , linux-remoteproc@vger.kernel.org, Ohad Ben Cohen 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 On Wed, Apr 15, 2020 at 12:16 AM Sibi Sankar wrote: > > Remove unsed q6v5_da_to_va function as the mss driver uses a per segment > dump function. > > Signed-off-by: Sibi Sankar > --- > drivers/remoteproc/qcom_q6v5_mss.c | 14 -------------- > 1 file changed, 14 deletions(-) > > diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c > index b781fc8de3597..6a19e0e77236e 100644 > --- a/drivers/remoteproc/qcom_q6v5_mss.c > +++ b/drivers/remoteproc/qcom_q6v5_mss.c > @@ -196,7 +196,6 @@ struct q6v5 { > > phys_addr_t mpss_phys; > phys_addr_t mpss_reloc; > - void *mpss_region; Hm, this doesn't build for me on our Chrome tree: CC [M] drivers/remoteproc/qcom_q6v5_mss.o /mnt/host/source/src/third_party/kernel/v5.4/drivers/remoteproc/qcom_q6v5_mss.c:1118:16: error: no member named 'mpss_region' in 'struct q6v5' ptr = qproc->mpss_region + offset; ~~~~~ ^ /mnt/host/source/src/third_party/kernel/v5.4/drivers/remoteproc/qcom_q6v5_mss.c:1520:9: error: no member named 'mpss_region' in 'struct q6v5' qproc->mpss_region = devm_ioremap_wc(qproc->dev, qproc->mpss_phys, qproc->mpss_size); ~~~~~ ^ /mnt/host/source/src/third_party/kernel/v5.4/drivers/remoteproc/qcom_q6v5_mss.c:1521:14: error: no member named 'mpss_region' in 'struct q6v5' if (!qproc->mpss_region) { ~~~~~ ^