From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f181.google.com ([209.85.212.181]:38770 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755387AbbGTPQh convert rfc822-to-8bit (ORCPT ); Mon, 20 Jul 2015 11:16:37 -0400 Received: by wibxm9 with SMTP id xm9so29542788wib.1 for ; Mon, 20 Jul 2015 08:16:36 -0700 (PDT) From: Michal Nazarewicz To: Krzysztof Opasiak , balbi@ti.com Cc: stable@vger.kernel.org, david.fisher1@synopsys.com, gregkh@linuxfoundation.org, andrzej.p@samsung.com, m.szyprowski@samsung.com, linux-usb@vger.kernel.org Subject: Re: [PATCH v3 4/5] usb: gadget: mass_storage: Use static array for luns In-Reply-To: <55AD0121.4070107@samsung.com> References: <1436281065-32407-1-git-send-email-k.opasiak@samsung.com> <1436281065-32407-5-git-send-email-k.opasiak@samsung.com> <55ACCECC.5000609@samsung.com> <55AD0121.4070107@samsung.com> Date: Mon, 20 Jul 2015 17:16:32 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: stable-owner@vger.kernel.org List-ID: On Mon, Jul 20 2015, Krzysztof Opasiak wrote: > Yeah I see it now. What I wrote was a problem before your patch but now > it seams to be ok, just nluns name is very misleading. Summing up, just > like you wrote this patch should not go to stable. For me nluns has always been *size* of the luns array. And with changes from my patch, it’s size in the std::vector sense, i.e. it’s not the same as capacity. Your patchset gets away from nluns so this confusion will be cleared anyway. -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michał “mina86” Nazarewicz (o o) ooo +------ooO--(_)--Ooo--