Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756995AbeAHOQP (ORCPT + 1 other); Mon, 8 Jan 2018 09:16:15 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:33222 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756822AbeAHOQM (ORCPT ); Mon, 8 Jan 2018 09:16:12 -0500 X-Google-Smtp-Source: ACJfBovm4RVPpjIQZJ5yqM3oda/8reTJOUe1GhtkmYDaa8B644gAzAeF2jtGCHamubuXemL3JVi9sA== Date: Mon, 8 Jan 2018 06:16:08 -0800 From: Tejun Heo To: Arvind Yadav Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org Subject: Re: [PATCH] ata_piix: constify pci_bits Message-ID: <20180108141608.GQ3668920@devbig577.frc2.facebook.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Return-Path: On Wed, Jan 03, 2018 at 10:43:34AM +0530, Arvind Yadav wrote: > pci_bits are not supposed to change at runtime. Functions > pci_test_config_bits() working with const 'struct pci_bits'. > So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Applied to libata/for-4.16. Thanks. -- tejun