Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1143125imm; Wed, 13 Jun 2018 14:10:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIeNOevIykJmPM2POIIw+Umd6ZisVb0f6XRioHqYtLAhxlap3mX+6ogxdTbvsisY+b4/ntJ X-Received: by 2002:a17:902:7089:: with SMTP id z9-v6mr6737523plk.231.1528924250250; Wed, 13 Jun 2018 14:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528924250; cv=none; d=google.com; s=arc-20160816; b=e4wf3B2BuX46Z+XxOewt3oZQ/oFi3LIfYxEFW+CvfB9XhMrvOyRiV5XquIoJCtL6l4 c5pOUDvumb07yuPNndxtxbkh8ry3UaTyHwX05eezXp5RZvkQwik+9KYKZ8dnnx6///Lz IGqxUbBtj+fNuFZeIWpdqSY60q0pKzF0ejgz/zJWD0KWUmIcqe+ER3zPjfe/d3hRpSuG i1LU74TYyNODVwTQCGEte2fb6lx7nHzknU3YE8xke+6ep0LGTfetA0BMBurmn3h4MIGj w1TbXlq+M+txsp3f+cz92hh5giRY1+z6HBmGZ6erm0cJjknsWqHd7o3snflZJscOqIgt YBzg== 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 :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=UI2DsCAFjHALGW9Tj8zBs2VmiSnfQ2KTFzKAeeNs8fc=; b=dAhBV0T5G6h9Kfm3nEJhd1RWrQ01gBL/uAoy9Zdf3kxiVPh2Th9xhsdnpAMXEXcWgi QwWo0fexI6AXBltWhCGgTrHPzbjsQsOLqPUgWwMjqAjSP50X7qkzwV9W5XdHgb7AmZ/6 Ofsjd6rlsLhYdWuZSZB5m34OocdLPhk4sbrUzDiKmUEJ64OC4bXj4rwx/swxTCJtIINW vyq80BB9ghGx8VlwVzXA9W4GYPTU3C6/8pXuw2tH+m8tA0mIptkApCVk+SmJZBmrN7zh HhHzT9V0phovZYQVPncDVjyXxiCVpheCfx5vZA5ac90kVIrP90EaUDz6gjFXNQvbChmF lk8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=n7qPIQYf; dkim=fail header.i=@chromium.org header.s=google header.b=KUYwuNCj; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e72-v6si3814719pfd.352.2018.06.13.14.10.35; Wed, 13 Jun 2018 14:10:50 -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=fail header.i=@google.com header.s=20161025 header.b=n7qPIQYf; dkim=fail header.i=@chromium.org header.s=google header.b=KUYwuNCj; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964819AbeFMVJt (ORCPT + 99 others); Wed, 13 Jun 2018 17:09:49 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:38983 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936004AbeFMVJS (ORCPT ); Wed, 13 Jun 2018 17:09:18 -0400 Received: by mail-ua0-f195.google.com with SMTP id n4-v6so2696223uad.6 for ; Wed, 13 Jun 2018 14:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=UI2DsCAFjHALGW9Tj8zBs2VmiSnfQ2KTFzKAeeNs8fc=; b=n7qPIQYf5+b2v8xUstKaumo4y3eiHcPXP0DjyZkQblCJMmYO/1cg1336V8clxneCF6 qb2daxS4UYDdjlOwch30N29ucr/gW9dm+x4wUtmFSGymcBMwOObSz5xZeqAeKvVZkJZ1 Z9ZJXvBcVpJv1ihQGi3WdFdRAstLSECe36e3eh8W742OGN5FdbEn8CYhRuX58KRJB4aA 05BURLWEXu1ZTyQ4OdnsN8sfqqfBLf8SaIEgqCAppvAvoXyakZ+Ih/kVCizsa5HLoBLM 3ayQjdp5RVQMgTLWBUiuLSghjrOs/7ovRnNXEDmWo90g6/A/ToELlaZMYMNYyNkMs3O2 8tpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=UI2DsCAFjHALGW9Tj8zBs2VmiSnfQ2KTFzKAeeNs8fc=; b=KUYwuNCjorzL0rFJ4OrIWQxM2sv+o5MbHN5BOBDPp1I6r2KKrdRYERmAH0+qtLtrWc xRH9QT6e9+rmCi/Nqcs/BnvB4+Ch3b8zxaVWPTJ7m99DaVVVPGcaOYRNdQien2GgWGzD oLXkzdAqXcRsRh3gqEcWiMfqvFANIwowJ/uZw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=UI2DsCAFjHALGW9Tj8zBs2VmiSnfQ2KTFzKAeeNs8fc=; b=m0GbiaDuLOMgECbgqKJqFQcVD9+NGBCGUKrJH2o6vCmxLja4oR6Hc/cLTIuJqgiqZc 9sYIkSJbl/MZg4gmkPKOGCGXi2RPmYSc1/F4MOPQIhPho7vKE1OubgVSIsQuyx+2zUea c5ks9PcvoLe4kW/HwX18rCReiHe/UZUxvWxsSlPM8wyzAQAHikkYuf3fOqBF8faC7xnj 8KNyzw09CejvWM9KKGmOVVBhNo3urTNfsXLAeDMy9V8kJQlbjMoErqU3Qa5lVsvsDyjE M+/WthsyFuXeWAZ5CxzPkn/gZSrnonuFQbsf37U5jP3cjc94SFFmCsEHi9pCA0NfS9PA eupw== X-Gm-Message-State: APt69E1nHooCB/z9LmprphAtcd1BUbUxVwJSR4qXsD1WAr+6YlsA/tP9 Up/13SUwg7TZBPEEa/ZKXKOhUn72OfPmRqdUvD8HLQ== X-Received: by 2002:ab0:17d2:: with SMTP id p18-v6mr4198307uaf.121.1528924157661; Wed, 13 Jun 2018 14:09:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1f:9495:0:0:0:0:0 with HTTP; Wed, 13 Jun 2018 14:09:16 -0700 (PDT) In-Reply-To: <1528737949-17495-5-git-send-email-rplsssn@codeaurora.org> References: <1528737949-17495-1-git-send-email-rplsssn@codeaurora.org> <1528737949-17495-5-git-send-email-rplsssn@codeaurora.org> From: Doug Anderson Date: Wed, 13 Jun 2018 14:09:16 -0700 X-Google-Sender-Auth: G8itjI7I13WpGYOmRRG6-h2Ldoc Message-ID: Subject: Re: [PATCH v10 04/10] drivers: qcom: rpmh: add RPMH helper functions To: Raju P L S S S N Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, "open list:ARM/QUALCOMM SUPPORT" , Rajendra Nayak , Bjorn Andersson , LKML , Stephen Boyd , Evan Green , Matthias Kaehlcke , Lina Iyer 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 Hi, On Mon, Jun 11, 2018 at 10:25 AM, Raju P L S S S N wrote: > +void rpmh_tx_done(const struct tcs_request *msg, int r) > +{ > + struct rpmh_request *rpm_msg = container_of(msg, struct rpmh_request, > + msg); > + struct completion *compl = rpm_msg->completion; > + > + rpm_msg->err = r; > + > + if (r) > + dev_err(rpm_msg->dev, "RPMH TX fail in msg addr=%#x, err=%d\n", > + rpm_msg->msg.cmds[0].addr, r); > + > + /* Signal the blocking thread we are done */ > + if (compl) > + complete(compl); > +} > +EXPORT_SYMBOL(rpmh_tx_done); You're back to too many EXPORT_SYMBOL's again. Just use this rule of thumb: * If it's static, no EXPORT_SYMBOL. * If the prototype is in "rpmh-internal.h", no EXPORT_SYMBOL. * If the prototype is in "rpmh.h", then yes EXPORT_SYMBOL. In the case of rpmh_tx_done: the protype is in rpmh-internal.h To fix, squash in crosreview.com/1099841 -Doug