Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756865AbcCRMsK (ORCPT ); Fri, 18 Mar 2016 08:48:10 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:33919 "EHLO mail-io0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755638AbcCRMsH convert rfc822-to-8bit (ORCPT ); Fri, 18 Mar 2016 08:48:07 -0400 MIME-Version: 1.0 In-Reply-To: <1457615688-27406-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1457615688-27406-1-git-send-email-sudipm.mukherjee@gmail.com> Date: Fri, 18 Mar 2016 13:48:06 +0100 X-Google-Sender-Auth: 8e4hBfd5XFsd7bEAI9XVKzJtAd8 Message-ID: Subject: Re: [PATCH] serial-uartlite: fix build warning From: Geert Uytterhoeven To: Sudip Mukherjee Cc: Peter Korsgaard , Greg Kroah-Hartman , Jiri Slaby , "linux-kernel@vger.kernel.org" , "linux-serial@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1106 Lines: 28 On Thu, Mar 10, 2016 at 2:14 PM, Sudip Mukherjee wrote: > We were getting build warnings about: > drivers/tty/serial/uartlite.c: In function ‘ulite_request_port’: > drivers/tty/serial/uartlite.c:348:21: warning: assignment discards > 'const' qualifier from pointer target type > port->private_data = &uartlite_be; > ^ > drivers/tty/serial/uartlite.c:354:22: warning: assignment discards > 'const' qualifier from pointer target type > port->private_data = &uartlite_le; > ^ > > Fixes: 2905697a82ea ("serial-uartlite: Constify uartlite_be/uartlite_le") > Signed-off-by: Sudip Mukherjee 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