Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5742824ioo; Wed, 1 Jun 2022 11:35:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/c1dS1ER6l5Wp7GSscNPlsQa6pL4D0TeIWWYVUSt5OYs8pGsP4XhZwWwczcUIWtf/bA5P X-Received: by 2002:a62:b60f:0:b0:508:2a61:2c8b with SMTP id j15-20020a62b60f000000b005082a612c8bmr67749645pff.2.1654108507163; Wed, 01 Jun 2022 11:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654108507; cv=none; d=google.com; s=arc-20160816; b=rFs8BWQlGdLHM1lgiLl4KeELGt+s4gk/WVNQ7ZNFEeKx9HyshH/cQtTT/nnwSJHYn1 EdOu6vGa08gDLAKlPgdg9alSCWJqx/a8BprcMGfwIGFd9a93XfCcGje943j7UNbicfCY gGi5X5ixvuzL2QRG/+KWrnLPPjYGUhKXURgfbv/VBgV5QR3Lr1WEKMfufQRi1QgMmVJX ++0TWYmy+az0kEztXF86D71vzq3UFXZTBf+zYlSUaCgenfnOn7HgRFSZkpR35Bnxbmay D3IB42CZHIz54pos5D/7D/dpHQfoF7N7faWS0GtMzA0OTybbSMOQ3FZA+UYTTHF6u9WI Wong== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ttTPPe0eFOYyljdeqSE5AeJjqaSQmATuiJrG9w/iuD0=; b=gdVEJ7naX2cA/jpnQQPCcEGiEOkdDj0BPx44WXcrdyDEmblEmxeEYbMkB1RxI90Zvg o9KxbFBYQ5pzqccbM82qcAkz6ygkcEOvBsbSSx42nNkf+0yzxdO7b/eBEKo8e9NnvRyD LI5WzXZWtBGpW7hU3zfhxae/zUZwRJYENgJLZdpG8cOecVGT0skBIvqj/1P4uMsjWonU +GZPfQZFj8yQCvl0Pgsx9HuEBEi4M6xkKjxB7EpLVLBCw7cqzLKur0stSsDiGr36tXAV wfR0TbHaZLvYe3buX7ilYPPQwjJjLVMg2BnmQDWxWjhTfH8/SIEC/ptP9nxfQBTBnAv0 CPoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p186-20020a62d0c3000000b0050dec7ee78dsi2562325pfg.43.2022.06.01.11.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 11:35:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38EC3AE462; Wed, 1 Jun 2022 11:34:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243354AbiEaBbf (ORCPT + 99 others); Mon, 30 May 2022 21:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231684AbiEaBbd (ORCPT ); Mon, 30 May 2022 21:31:33 -0400 Received: from p-impout004.msg.pkvw.co.charter.net (p-impout004aa.msg.pkvw.co.charter.net [47.43.26.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0397962A2F for ; Mon, 30 May 2022 18:31:32 -0700 (PDT) Received: from 2603-8090-2005-39b3-0000-0000-0000-100e.res6.spectrum.com.com ([24.31.246.181]) by cmsmtp with ESMTP id vqjLnnv0kgPEBvqjLnJB3d; Tue, 31 May 2022 01:31:32 +0000 X-Authority-Analysis: v=2.4 cv=b8OhX/Kx c=1 sm=1 tr=0 ts=62956ff4 a=cAe/7qmlxnd6JlJqP68I9A==:117 a=cAe/7qmlxnd6JlJqP68I9A==:17 a=IkcTkHD0fZMA:10 a=yQdBAQUQAAAA:8 a=OUNqcoRDPagEZD6Yk-wA:9 a=QEXdDO2ut3YA:10 a=SzazLyfi1tnkUD6oumHU:22 From: Larry Finger To: gregkh@linuxfoundation.org Cc: phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Larry Finger , Dan Carpenter Subject: [PATCH v3 0/2] Fix some compile warnings in v5.18+ Date: Mon, 30 May 2022 20:31:01 -0500 Message-Id: <20220531013103.2175-1-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfGbqQDfKRfN/DY4TcrnBF/T0igbGbmWXTdWlcK5i+w/T4imgw4mbswxqD3jVKF/NsUEYdYTlBcEIOE/ST5vG9nsW3qTxW2Ez6yBCmgHRMzMEyX9cApHh wuv3AZfkVgguegnhWlcHQlmqd1vnd5uCGw0dI3hqqmeazAKibYK/U8587hD8OVWLR2YAccGvnZdHf9NK2qtSjxL7LYwyc5ApwjttjJucx3k6c697CPSwkgeo 7+jRaCAc+bkJC+Kz/sFcwlrhnYx7yy4G3lYeDAm+7JAtdUL5Ur9WwDo8sEAhI4SNNrP/hy5rIIBV1DiAQOfDByqe8COBrcDheSTAEpaB5UgWsWc5rm8afUaK hPOGuuNEhNXjlYde3rBZUkdLLy1MtaYvKUqVkRd5GDnMBLbDb56/Zn/tl104/PaWdHXhIKwtvLHQGtLrtaCgaZiIQtENuTyRcqcq+oYfRd+OHrJnvE4= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Building driver r8188eu in staging with -warray-bounds exposes two places where arrays are too small. Signed-off-by: Larry Finger --- v2 - get proper To and Cc v3 - Use Dan Carpenter's suggestion for correct patch. Larry Finger (2): staging: r8188eu: Fix undersized array in rtw_xmit.c staging: r8188eu: Fix warning of array overflow in ioctl_linux.c drivers/staging/r8188eu/core/rtw_xmit.c | 17 ++++------------- drivers/staging/r8188eu/os_dep/ioctl_linux.c | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) -- 2.36.1