Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752323AbdGDK3o (ORCPT ); Tue, 4 Jul 2017 06:29:44 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:33340 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910AbdGDK3n (ORCPT ); Tue, 4 Jul 2017 06:29:43 -0400 MIME-Version: 1.0 In-Reply-To: <20170620204417.854521-1-arnd@arndb.de> References: <20170620204417.854521-1-arnd@arndb.de> From: Geert Uytterhoeven Date: Tue, 4 Jul 2017 12:29:41 +0200 X-Google-Sender-Auth: vS7LsYtndMPeGQQLw1E9qVRr1dk Message-ID: Subject: Re: [PATCH] drivers/fsi: fix fsi_slave_mode prototype To: Arnd Bergmann Cc: Jeremy Kerr , Greg Kroah-Hartman , Joel Stanley , Christopher Bostic , Chris Bostic , "linux-kernel@vger.kernel.org" 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: 832 Lines: 22 On Tue, Jun 20, 2017 at 10:43 PM, Arnd Bergmann wrote: > 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. > > Fixes: 2b37c3e285f9 ("drivers/fsi: Set slave SMODE to init communication") > Signed-off-by: Arnd Bergmann Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds