Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754156Ab0G1Nmg (ORCPT ); Wed, 28 Jul 2010 09:42:36 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:57672 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751894Ab0G1Nmf convert rfc822-to-8bit (ORCPT ); Wed, 28 Jul 2010 09:42:35 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ojguiQagjTqwrT5v822s93trUAcL4CCEDuqCdRbrZrTy+WUnhTrgpJBEobLFTNk6yp RVXKbwntK5iUpeKp18zu0VpfU1VUVaWsNnQizqENhT9wT20S/oRLjUQU9CdmYNOnbJq5 si9xmcPbjswhcZcZlvdLevxjpBaEzDm8Y6HUQ= MIME-Version: 1.0 In-Reply-To: References: <38424b23c94ddcff6f1808161912f362c2ccae39.1280316431.git.m.nazarewicz@samsung.com> <7b3ddf05e135e8147d1011a81f9069d9cd78aa62.1280316431.git.m.nazarewicz@samsung.com> Date: Wed, 28 Jul 2010 16:42:33 +0300 Message-ID: Subject: Re: [PATCHv5 3/3] USB: gadget: storage_common: fixed warning building mass storage function From: Andy Shevchenko To: =?UTF-8?Q?Micha=C5=82_Nazarewicz?= Cc: Greg KH , David Brownell , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 675 Lines: 19 2010/7/28 MichaƂ Nazarewicz : >> Why the warning happens for those two only? >> There are two more parameters (four methods) to handle 'ro' and 'file' >> which are done in the same way. > > Those are the only ones that are not used by the mass storage function. Now I got it. I'm just wondering if it somehow useful to append similar parameter to that function. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/