Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752479AbdHNDMx (ORCPT ); Sun, 13 Aug 2017 23:12:53 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:50534 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752195AbdHNDMu (ORCPT ); Sun, 13 Aug 2017 23:12:50 -0400 Date: Sun, 13 Aug 2017 20:12:49 -0700 (PDT) Message-Id: <20170813.201249.2185788172171274506.davem@davemloft.net> To: Julia.Lawall@lip6.fr Cc: bhumirks@gmail.com, kernel-janitors@vger.kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com, sparclinux@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/11] serial: sunsu: constify uart_ops structures From: David Miller In-Reply-To: <1502605310-4314-5-git-send-email-Julia.Lawall@lip6.fr> References: <1502605310-4314-1-git-send-email-Julia.Lawall@lip6.fr> <1502605310-4314-5-git-send-email-Julia.Lawall@lip6.fr> X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 13 Aug 2017 20:12:49 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 387 Lines: 12 From: Julia Lawall Date: Sun, 13 Aug 2017 08:21:43 +0200 > These uart_ops structures are only stored in the ops field of a > uart_port structure and this fields is const, so the uart_ops > structures can also be const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: David S. Miller