From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbdLGI2z (ORCPT ); Thu, 7 Dec 2017 03:28:55 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:41776 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbdLGI2y (ORCPT ); Thu, 7 Dec 2017 03:28:54 -0500 Date: Thu, 7 Dec 2017 11:28:31 +0300 From: Dan Carpenter To: Gilad Ben-Yossef Cc: Greg Kroah-Hartman , Linux Crypto Mailing List , devel@driverdev.osuosl.org, driverdev-devel@linuxdriverproject.org, Linux kernel mailing list , Ofir Drang Subject: Re: [PATCH 01/10] staging: ccree: remove inline qualifiers Message-ID: <20171207082830.6lixeuudeagkbw6x@mwanda> References: <1512309503-29766-1-git-send-email-gilad@benyossef.com> <1512309503-29766-2-git-send-email-gilad@benyossef.com> <20171204093639.7ctulxb4v2htqbmj@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8737 signatures=668643 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712070130 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 07, 2017 at 09:00:11AM +0200, Gilad Ben-Yossef wrote: > On Mon, Dec 4, 2017 at 11:36 AM, Dan Carpenter wrote: > > On Sun, Dec 03, 2017 at 01:58:12PM +0000, Gilad Ben-Yossef wrote: > >> The ccree drivers was marking a lot of big functions in C file as > >> static inline for no good reason. Remove the inline qualifier from > >> any but the few truly single line functions. > >> > > > > The compiler is free to ignore inline hints... It probably would make > > single line functions inline anyway. > > > > Yes. I think of it more as a note to the reader: "don't add stuff to > this function. it is meant to be short and simple". > Ah. Fine. regards, dan carpenter