From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C6FBC433FE for ; Thu, 3 Nov 2022 05:26:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230242AbiKCF0Q (ORCPT ); Thu, 3 Nov 2022 01:26:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230194AbiKCF0J (ORCPT ); Thu, 3 Nov 2022 01:26:09 -0400 Received: from msg-4.mailo.com (msg-4.mailo.com [213.182.54.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F27417583 for ; Wed, 2 Nov 2022 22:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1667453154; bh=FufVo+HFMo3MVhvPeLvfq/RyBj3cNiGx245dUoTqmJU=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=iBJlL+mWHsrh7x0N3fKFFXMMBUXy3LhUUEQZyMU5qJyUejZsVMc7B2plh/3MTU6wr RYgzTYyKeFMNqsmkiKBoy0VCYcoQ4PU0+WHOFTuuJ/xAhaj9E6/l0cTsI+JeupeRoW aof5rObKL/8Uuhq3I9/hUlgoU5qMlPI/bXGrT+UU= Received: by b-6.in.mailobj.net [192.168.90.16] with ESMTP via [213.182.55.206] Thu, 3 Nov 2022 06:25:53 +0100 (CET) X-EA-Auth: sT/AI6qkYYmy785Y8+YqN/cDQZl5Q7Pej6Ql4n93P4imGzzGbUN3YjFwvbY6p7yflJ+0rjGD1TILhqpBL7JIsLea1C8jlblu Date: Thu, 3 Nov 2022 10:55:47 +0530 From: Deepak R Varma To: Dan Carpenter Cc: Pavel Skripkin , outreachy@lists.linux.dev, Larry Finger , Phillip Potter , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: r8188eu: Use flexible-array for one length array member Message-ID: References: <642519a2-664d-d837-983a-1d5bbc72a25e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 03, 2022 at 08:22:14AM +0300, Dan Carpenter wrote: > On Thu, Nov 03, 2022 at 12:49:38AM +0530, Deepak R Varma wrote: > > I am wondering if ijk_matrix_regs_set (or IQKMatrixRegSetting) is a one element > > array, why is it declared as a two dimensional array? Can this be a simple one > > dimensional array instead? Is this the cleanup you are referring to when you say > > "code is messy and should be cleaned up"? > > Yes. You have interpreted that correctly. Thank you for the confirmation. This will be an interesting correction. I will review and submit a patch shortly. Thank you, ./drv > > regards, > dan carpenter > >