[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1247748885.11353.156.camel@localhost.localdomain>
Date: Thu, 16 Jul 2009 15:54:45 +0300
From: Artem Bityutskiy <dedekind@...radead.org>
To: Subrata Modak <subrata@...ux.vnet.ibm.com>
Cc: Stefan Richter <stefanr@...6.in-berlin.de>,
Adrian Hunter <adrian.hunter@...ia.com>,
Sachin P Sant <sachinp@...ux.vnet.ibm.com>,
David Howells <dhowells@...hat.com>,
linux-mtd@...ts.infradead.org,
Balbir Singh <balbir@...ux.vnet.ibm.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 02/06] Fix compilation warning for fs/ubifs/commit.c
On Thu, 2009-07-16 at 18:11 +0530, Subrata Modak wrote:
> does not use:
> "const struct ubifs_info *c"
> inside the inline function. I do not see any practical usage of
> "const struct ubifs_info *c" in the functions key_read() and key_write().
> Is there something which i am missing to understand ?
>
> When i applied the following patch, still the "fs/ubifs/" code compiled fine.
> If the below fix is correct, i can try fixing some other functions i saw
> having similar defects.
Yeah, I think the reason why we have this extra argument there is that
we assumed there will be several key schemes. It is possible to add more
than one, but we use only one.
Since you have already spent your time for this, could you please check
if removing this 'c' makes the code smaller? If not, I'd prefer not to
remove it.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists