From patchwork Thu May 9 07:58:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis Efremov X-Patchwork-Id: 242717 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7A6042C00ED for ; Thu, 9 May 2013 18:00:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556Ab3EIIAN (ORCPT ); Thu, 9 May 2013 04:00:13 -0400 Received: from mail-lb0-f182.google.com ([209.85.217.182]:50527 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387Ab3EIIAL (ORCPT ); Thu, 9 May 2013 04:00:11 -0400 Received: by mail-lb0-f182.google.com with SMTP id r11so2768570lbv.13 for ; Thu, 09 May 2013 01:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=hCSMKI0pGvzvX6jCmT3BKEBh3qSI4wzpBQVVJ4g7tK0=; b=R+mRNqEgMX2yUlj3YrCxOEaYZXYmisxLuEiXQhXVbHjLHZqpyBqVKsNZk6Ens3EWiL cYshwhTBxZeZVBSMEBO5g9tTX9haIMqFQbV2zCEz/prGwYY4nCywubeXECMO2HtXrZeJ VgZAxTYnyY79RMwUtDveQvZfySMRDbVpgwdVEJr4247HQuiF9OVo36ScixII0z0XMPQo mLJ6Cctv542N1pCVWQb1Z+8BS5easBy1dwIisnyGr20/mdW4PG3dP6I6WMSchhr4x+n9 BVWyAs17/Dfn2LJ+qjMKFsMjYY4nUGPW+4AXJO7IdsqOH8ZoCxnKWxADOdR3lmKyjjJy rJuA== X-Received: by 10.112.149.35 with SMTP id tx3mr4850037lbb.95.1368086409391; Thu, 09 May 2013 01:00:09 -0700 (PDT) Received: from localhost.localdomain (95-26-197-249.broadband.corbina.ru. [95.26.197.249]) by mx.google.com with ESMTPSA id w3sm652224lae.7.2013.05.09.01.00.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 09 May 2013 01:00:08 -0700 (PDT) From: Denis Efremov To: "David S. Miller" Cc: Denis Efremov , "Eric W. Biederman" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@kernel.org, ldv-project@linuxtesting.org Subject: [PATCH 05/21] 9p: remove inline marking of EXPORT_SYMBOL functions Date: Thu, 9 May 2013 11:58:27 +0400 Message-Id: <1368086323-9412-5-git-send-email-yefremov.denis@gmail.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1368086241-9357-1-git-send-email-yefremov.denis@gmail.com> References: <1368086241-9357-1-git-send-email-yefremov.denis@gmail.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov --- net/9p/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/9p/client.c b/net/9p/client.c index 8eb7542..591c664 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -64,13 +64,13 @@ static const match_table_t tokens = { {Opt_err, NULL}, }; -inline int p9_is_proto_dotl(struct p9_client *clnt) +int p9_is_proto_dotl(struct p9_client *clnt) { return clnt->proto_version == p9_proto_2000L; } EXPORT_SYMBOL(p9_is_proto_dotl); -inline int p9_is_proto_dotu(struct p9_client *clnt) +int p9_is_proto_dotu(struct p9_client *clnt) { return clnt->proto_version == p9_proto_2000u; }