From patchwork Thu May 9 07:58:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis Efremov X-Patchwork-Id: 2543531 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 258F7DF24C for ; Thu, 9 May 2013 08:00:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752418Ab3EIIAF (ORCPT ); Thu, 9 May 2013 04:00:05 -0400 Received: from mail-la0-f47.google.com ([209.85.215.47]:44447 "EHLO mail-la0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752368Ab3EIIAC (ORCPT ); Thu, 9 May 2013 04:00:02 -0400 Received: by mail-la0-f47.google.com with SMTP id fh20so2570278lab.34 for ; Thu, 09 May 2013 01:00:00 -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=v821IbVOMtv62lyiB3i58+dFv2khw7BwpCmishp0KBs=; b=T30BpM4KC9wMe1ogvdMvChpk+YnPkngsBZYL9TnA1kJ7TfU4P6nnnv/5aRIOPxTTiK VcCJ/HqIakbXmxrTRY/+t8qoHaVb7vml/c+V1eOCZAG6PhgjONgyZOHKPfyQ7EA01n5a wyQjnoWU6Oq1Sxbti8zoHDZL91Xj5DlcGXb0aoCw+kqheZ4AKyRDKv7O0fz+RbuWiRIn Wk64XTRmlOEjhcNmX9r5qBq6ZWcykabnTccm5XdATsEKaXYbw0j62DgkeFmdCOFre3vI oMJcXvankqUELsZmBW8XO8FTJcb8tIqonq/p69vy5LnJbxyCSDTApDxMfND2pr01tfZE ovbg== X-Received: by 10.112.156.133 with SMTP id we5mr4929484lbb.22.1368086400524; Thu, 09 May 2013 01:00:00 -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.00.59.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 09 May 2013 00:59:59 -0700 (PDT) From: Denis Efremov To: Lauro Ramos Venancio Cc: Denis Efremov , Aloisio Almeida Jr , Samuel Ortiz , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, trivial@kernel.org, ldv-project@linuxtesting.org Subject: [PATCH 04/21] NFC: remove inline marking of EXPORT_SYMBOL functions Date: Thu, 9 May 2013 11:58:26 +0400 Message-Id: <1368086323-9412-4-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: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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/nfc/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfc/core.c b/net/nfc/core.c index 40d2527..1c4b513 100644 --- a/net/nfc/core.c +++ b/net/nfc/core.c @@ -701,7 +701,7 @@ int nfc_target_lost(struct nfc_dev *dev, u32 target_idx) } EXPORT_SYMBOL(nfc_target_lost); -inline void nfc_driver_failure(struct nfc_dev *dev, int err) +void nfc_driver_failure(struct nfc_dev *dev, int err) { nfc_targets_found(dev, NULL, 0); }