Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752997AbdFUAt6 (ORCPT ); Tue, 20 Jun 2017 20:49:58 -0400 Received: from ozlabs.org ([103.22.144.67]:55251 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752939AbdFUAt4 (ORCPT ); Tue, 20 Jun 2017 20:49:56 -0400 Subject: Re: [PATCH] drivers/fsi: fix fsi_slave_mode prototype To: Arnd Bergmann Cc: Greg Kroah-Hartman , Joel Stanley , Christopher Bostic , Chris Bostic , linux-kernel@vger.kernel.org References: <20170620204417.854521-1-arnd@arndb.de> From: Jeremy Kerr Message-ID: <4d51aa5a-f189-da02-a6a3-1443ed84d1a0@ozlabs.org> Date: Wed, 21 Jun 2017 08:49:52 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170620204417.854521-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 308 Lines: 14 Hi Arnd, > gcc warns about the return type of this function: > > drivers/fsi/fsi-core.c:535:8: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] > > This removes the 'const' attribute, as suggested by the warning. Acked-by: Jeremy Kerr Cheers, Jeremy