Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752054AbdHSMHB (ORCPT ); Sat, 19 Aug 2017 08:07:01 -0400 Received: from eddie.linux-mips.org ([148.251.95.138]:39390 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbdHSMHA (ORCPT ); Sat, 19 Aug 2017 08:07:00 -0400 Date: Sat, 19 Aug 2017 13:06:56 +0100 (BST) From: "Maciej W. Rozycki" To: Arvind Yadav cc: "David S. Miller" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 5/5] net: defxx: constify eisa_device_id In-Reply-To: <1503125614-15297-1-git-send-email-arvind.yadav.cs@gmail.com> Message-ID: References: <1503125614-15297-1-git-send-email-arvind.yadav.cs@gmail.com> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 375 Lines: 12 On Sat, 19 Aug 2017, Arvind Yadav wrote: > eisa_device_id are not supposed to change at runtime. All functions > working with eisa_device_id provided by work with > const eisa_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- Reviewed-by: Maciej W. Rozycki Maciej