Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752547AbdHOOos (ORCPT ); Tue, 15 Aug 2017 10:44:48 -0400 Received: from muin.pair.com ([209.68.1.55]:56610 "EHLO muin.pair.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751781AbdHOOor (ORCPT ); Tue, 15 Aug 2017 10:44:47 -0400 Subject: Re: [PATCH 05/11] serial: uuc_uart: constify uart_ops structures To: Julia Lawall Cc: bhumirks@gmail.com, kernel-janitors@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , linuxppc-dev@lists.ozlabs.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org References: <1502605310-4314-1-git-send-email-Julia.Lawall@lip6.fr> <1502605310-4314-6-git-send-email-Julia.Lawall@lip6.fr> From: Timur Tabi Message-ID: Date: Tue, 15 Aug 2017 09:44:39 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1502605310-4314-6-git-send-email-Julia.Lawall@lip6.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 336 Lines: 11 On 8/13/17 1:21 AM, Julia Lawall wrote: > 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: Timur Tabi