Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751730AbdHRMvD (ORCPT ); Fri, 18 Aug 2017 08:51:03 -0400 Received: from ozlabs.org ([103.22.144.67]:50169 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751243AbdHRMvB (ORCPT ); Fri, 18 Aug 2017 08:51:01 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 8bfa42ab84910841336218265fcee94fd1e6285a In-Reply-To: <1501697258-19220-1-git-send-email-bhumirks@gmail.com> To: Bhumika Goyal , julia.lawall@lip6.fr, benh@kernel.crashing.org, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org From: Michael Ellerman Cc: Bhumika Goyal Subject: Re: powerpc: add const to bin_attribute structures Message-Id: <3xYjcg4ggxz9t41@ozlabs.org> Date: Fri, 18 Aug 2017 22:50:59 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 412 Lines: 12 On Wed, 2017-08-02 at 18:07:38 UTC, Bhumika Goyal wrote: > Declare bin_attribute structures as const as they are only passed as an > argument to the function sysfs_create_bin_file. This argument is of > type const, so declare the structure as const. > > Signed-off-by: Bhumika Goyal Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/8bfa42ab84910841336218265fcee9 cheers