Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754202AbdHXR0H (ORCPT ); Thu, 24 Aug 2017 13:26:07 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:38005 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754078AbdHXR0E (ORCPT ); Thu, 24 Aug 2017 13:26:04 -0400 Date: Thu, 24 Aug 2017 10:26:00 -0700 From: Tejun Heo To: Arvind Yadav Cc: b.zolnierkie@samsung.com, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: [PATCH 0/3] constify ata_port_info Message-ID: <20170824172559.GT491396@devbig577.frc2.facebook.com> References: <1503568201-9991-1-git-send-email-arvind.yadav.cs@gmail.com> <20170824142346.GN491396@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170824142346.GN491396@devbig577.frc2.facebook.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 461 Lines: 15 On Thu, Aug 24, 2017 at 07:23:46AM -0700, Tejun Heo wrote: > On Thu, Aug 24, 2017 at 03:19:58PM +0530, 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. > > Applied 1-3 to libata/for-4.14. Caused build warnings. Reverted. Please test before submitting patches. Thanks. -- tejun