Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753734AbdHXTqP (ORCPT ); Thu, 24 Aug 2017 15:46:15 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:35316 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752774AbdHXTqN (ORCPT ); Thu, 24 Aug 2017 15:46:13 -0400 MIME-Version: 1.0 In-Reply-To: <1503568201-9991-2-git-send-email-arvind.yadav.cs@gmail.com> References: <1503568201-9991-1-git-send-email-arvind.yadav.cs@gmail.com> <1503568201-9991-2-git-send-email-arvind.yadav.cs@gmail.com> From: Linus Walleij Date: Thu, 24 Aug 2017 21:46:12 +0200 Message-ID: Subject: Re: [PATCH 1/3] ata: ftide010: constify ata_port_info To: Arvind Yadav Cc: Tejun Heo , Bartlomiej Zolnierkiewicz , "linux-kernel@vger.kernel.org" , linux-ide@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: 417 Lines: 13 On Thu, Aug 24, 2017 at 11:49 AM, Arvind Yadav wrote: > ata_port_info are not supposed to change at runtime. All functions > working with ata_port_info provided by work with > const ata_port_info. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Acked-by: Linus Walleij Yours, Linus Walleij