Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752485AbbGNMmQ (ORCPT ); Tue, 14 Jul 2015 08:42:16 -0400 Received: from mail-qg0-f54.google.com ([209.85.192.54]:33856 "EHLO mail-qg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbbGNMmO (ORCPT ); Tue, 14 Jul 2015 08:42:14 -0400 MIME-Version: 1.0 In-Reply-To: <55A502B6.5090806@cogentembedded.com> References: <1436876558-6674-1-git-send-email-dvlasenk@redhat.com> <55A502B6.5090806@cogentembedded.com> From: Denys Vlasenko Date: Tue, 14 Jul 2015 14:41:54 +0200 Message-ID: Subject: Re: [PATCH] iwlwifi: Deinline iwl_{read,write}{8,32} To: Sergei Shtylyov Cc: Denys Vlasenko , Emmanuel Grumbach , Johannes Berg , "John W. Linville" , Intel Linux Wireless , linux-wireless@vger.kernel.org, netdev , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 799 Lines: 22 On Tue, Jul 14, 2015 at 2:38 PM, Sergei Shtylyov wrote: >> +#define IWL_READ_WRITE(static_inline) \ >> +static_inline void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) \ >> +{ \ >> + trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val); \ >> + iwl_trans_write8(trans, ofs, val); \ >> +} \ > [...] >> >> +#if !defined(CONFIG_IWLWIFI_DEVICE_TRACING) >> +IWL_READ_WRITE(static inline) > > Not static_inline? Yes. Here we are putting two words, "static inline", in front of every function definition. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/