Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp984699rwi; Wed, 2 Nov 2022 22:31:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7WgBX/Kw9SZnsuHbGmeu1bjl0Zdl110jJdP2Byp2KCCXC9zkXxGiXBl1xfPoQzBTEPih1t X-Received: by 2002:a17:906:ee8e:b0:730:4a24:f311 with SMTP id wt14-20020a170906ee8e00b007304a24f311mr27821582ejb.420.1667453488484; Wed, 02 Nov 2022 22:31:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667453488; cv=none; d=google.com; s=arc-20160816; b=rICNR8p9xQmU2tJAXImo7ov3TItKbrS6/+I0Q0AyjV+Kb+r9gCuL45vMdlJWLWksz9 jFDhZuUbrAC0A98MK8XVUVTKEN0cHaZkKjoXU/+JIn8z0elj8IJgbHI1aMPOeYZysr2J 4ZDEwNzMa/5S5YKK06BLAsctllDX7G9sRU561UhhFqCMhW04VPHRhmw/GrCNo1FKFwOC Auraf+AhmgZ+Ghy2dr12bJgKOGhkhxFiX1kHb4hGbs22lXc92V7etkjtA1zgRtmBRnRL K9i/FD8NGyMHjOR6qAw7Web1UdAseaLd4Dx/Pk972+tjv+GghjBO/JAI732DO3vP0o18 U7DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YHeYRtbQ3BOR9DbNBl//b/ECiZLyzDKiq1z7LfU80Ro=; b=KcgqSWJfkiwJybOZIyRznYV1MN+rG9johf02d8pi2mhC5WBlSjeNzZpYeGkU8K+Er6 0F1OU0As20f8GiGE1/4r5Kg3vmAyA6uRaxniql0ceB6JL9TGITRRGkDdFQ9i6Ym+kWb5 DBgMnJiCR2NVudHSAuSJDrEnl1kCJREx2zzEa228epyzA6dp+3AGs0UoWatsiMq/maKs NspF45mK45FdnqEeKU7eZxRJeK3roEdMvuCmQXPS12fCfvnwRnU6PThhnTRPuDOXT8XS ZzB6pvimN4AX196/a0Bp4OdZlPu7ALaFhXIrWG7ftkEzu1+UdmHduQ90r0iAm+4t+klU A/BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="cLRHFFC/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a170906975100b007ae1e519db0si97091ejy.220.2022.11.02.22.31.04; Wed, 02 Nov 2022 22:31:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="cLRHFFC/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229459AbiKCFW2 (ORCPT + 97 others); Thu, 3 Nov 2022 01:22:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230199AbiKCFWY (ORCPT ); Thu, 3 Nov 2022 01:22:24 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34E118E31 for ; Wed, 2 Nov 2022 22:22:18 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id k8so1073836wrh.1 for ; Wed, 02 Nov 2022 22:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YHeYRtbQ3BOR9DbNBl//b/ECiZLyzDKiq1z7LfU80Ro=; b=cLRHFFC/4i0kC25woN7rBisVFZbJAi5O+WO3FpKztDcZ6Sih+MKjwVgaMCk7b1ZlmK 6AwoRT0fsSAqWkmu1bypc3oogAZ3Fcc0WkUSA0hslBJ34GxfhcIVScg64Qa5m0aw8YqR I09X2XBzK+uMJCx9zJuN1uy+FtlIyQebL3/UDviODhjjTpR2vOqFnXWOghkYllr17/QL x537E4VG3qPA0aR6uwh20FQIsTewE5tgZSoVqKIwfzQwvtSUkKB4pcfFPs36m6vSr20v jtXxlKqxd269Wc1hV+2zqd4zj8DrttsBMAi5xoXwGbgubL7uaXrQ402EpBYPHwDQPwRF ReTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YHeYRtbQ3BOR9DbNBl//b/ECiZLyzDKiq1z7LfU80Ro=; b=HamJfUOl73WlyZvffzE5mSuw9a7n480zLUG2/lc9wFHg/AW5DLLfIAEKJRJrJd2CtD V7GSG6Y4oaFZ40UGTLyYswoLsRfji91VOEx2XDa/GWKGw0uDIP5fs4G8ueJLE+6flvS7 w5oUDKfBipsdAkpxo4XWR4XrXpwLl/p6voPO+TnVPu+rlIY6fi1M9f+F5c2Ob0gSo7o7 NlNolVBxTqNa8vGFDrnFyNQCwJ5iXRjGOSer77sbH0NyG6JS9w11Dp8HVK0wwoo0LYPD DyVzOzmwDWqbUwQh5qVZLNbng+x9F0WgU9/5UPjrJP9jzPdQ26v2seklqqm82rz6qGhX 2EJA== X-Gm-Message-State: ACrzQf3gA4ChacYcN4KPWpp/TnV661e4lO3jGSuaDCCREhoQRJud14Bp brqRnusW40TPEW+ArCiiZTo= X-Received: by 2002:a5d:4410:0:b0:236:a8f9:268f with SMTP id z16-20020a5d4410000000b00236a8f9268fmr17515507wrq.405.1667452937156; Wed, 02 Nov 2022 22:22:17 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id n124-20020a1ca482000000b003b4a68645e9sm4019487wme.34.2022.11.02.22.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 22:22:16 -0700 (PDT) Date: Thu, 3 Nov 2022 08:22:14 +0300 From: Dan Carpenter To: Deepak R Varma 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: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. regards, dan carpenter