Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp549395qtx; Thu, 3 Nov 2022 06:42:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7FbB5vBBKWxhyoYpAMc1mV3W/zSjJDM9YIW18nmzSLh2X+VxWgrPh2NBW7+zdIofEwdlHr X-Received: by 2002:a05:6402:5409:b0:44f:1e05:1e8 with SMTP id ev9-20020a056402540900b0044f1e0501e8mr30362655edb.373.1667482947158; Thu, 03 Nov 2022 06:42:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667482947; cv=none; d=google.com; s=arc-20160816; b=OJoyasV1o5aHm7CM7XE3pB8b9fBv0aSax+neFzaLqIwXnOR3FxHtr8JPG4h4F1j/cp iuEU3zhF8indtQl+Okre0bKL5VV8wIltUjMKtHxq+L5kcGUPNdHCQ0UBn65Uk9Vgj1FR 8lpzEJvV9oWrV1s7fmkLUibemaP30NYlfJrD4HFCmUkDUqCfeHlG0B3JgZ4LveWdqQJE 1I2h/Y2t/AA5TGUP9yNf6SlcjucX25pWFxlI5SYN51sXjVRbGcViwl1h26IAH0DkTlz0 a3aGgJLFDQyaJ/MWBnlmOBD/EPO9wYxNeGuis+b6EllnXecKQEYyaNFmWHay1eqMAKaH Qvnw== 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:dkim-signature; bh=qW4gA4/+DJWMLlFKdym0SavPVOtUXQ/aM3xm/iknIAY=; b=0/d8MpBFduJqCqU7uKCCdK1bEGdQauCiNuKA93L7P1jjNaWERPxtTilA+J28u8Iax8 qbGregRVq03QdCENrMowEDTYs/7mDGWUGNY9ZE0pkdDuhjtZB2WVb1Mp7S47bAURxqE2 FSrXNkVoqRjccsb8aUY4SFLajJ+tgiC/FjCp9MQlicV5Qe9H13cYK034lA4DGmz1A8+V npURLHeSgx3aElKprNSjg4VLQtvHocSYtnXG8AH+H24lZaJ2fpGou8WXgFJHX0fICQ8b Vq77VcsoAW7J//uswP9X4vDEaTgSFqGYE4yF/WVV34t/teR76lQ1A9795KoNB6sFEzXb HWdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=ZodLdYP8; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wu10-20020a170906eeca00b007878144285csi1155365ejb.314.2022.11.03.06.42.03; Thu, 03 Nov 2022 06:42:27 -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=@linuxfoundation.org header.s=google header.b=ZodLdYP8; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231167AbiKCNMz (ORCPT + 97 others); Thu, 3 Nov 2022 09:12:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbiKCNMw (ORCPT ); Thu, 3 Nov 2022 09:12:52 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25F616366 for ; Thu, 3 Nov 2022 06:12:50 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id v4-20020a17090a088400b00212cb0ed97eso1740303pjc.5 for ; Thu, 03 Nov 2022 06:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qW4gA4/+DJWMLlFKdym0SavPVOtUXQ/aM3xm/iknIAY=; b=ZodLdYP8lVPofd3B+oGsbQc367anhy5Z1zIbLllCkCs5hrPGWsNZeaDVg6iqggLZ2X PYHvImabBOwQdJXpwvWpcjQxHPsozq0dVT8tpOtk7pP9hgu/jQz5p4ypTfeL3kzdzyRe H5I2Gc7OMVjcDdDmfMh+Oam2ryPHSQt4/OMQc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qW4gA4/+DJWMLlFKdym0SavPVOtUXQ/aM3xm/iknIAY=; b=orV7wggx8/khq8KWLbsGnRcv+4BSQzZ/gpASmbnBJQvYN7ETN4mc1Sk1LdTjnmNOek D/zQ7N4qxBLR7R3s7z62y5bDd7oR34qvgXwDxe7AxrkbcEAAEbRiJpLDkmdQ4Ssi+CWU J+8DIItXUQHIgRLSbaWku9/vdM1caf9kuRB15rSIqwgWKkW1i00u+uUNU0/NTO1rLVwi tcKtOleY0PMc+5jfti+cGDZNiv2LTkLdDYkiWMVcczjdSaoDKj8lt1y9flqbB1wCww2o 5sKnJ/kCpqtXIKlwxmYiMzBFiiHorTuOme4H17wtugV+//9MQ8CABBlkNM7qnyhwlsD/ 4tPg== X-Gm-Message-State: ACrzQf3zi/Mx9TYV2dxjf2JnHL5Y7gcNrVhsKHGnALKazahT4ibcwK4J wY/m+OFmo+MRrG5BDwai8Xza4A== X-Received: by 2002:a17:90a:17eb:b0:212:8210:c92e with SMTP id q98-20020a17090a17eb00b002128210c92emr47687897pja.62.1667481169633; Thu, 03 Nov 2022 06:12:49 -0700 (PDT) Received: from shuah-tx13.. ([103.99.10.63]) by smtp.gmail.com with ESMTPSA id p8-20020a1709027ec800b0018703bf3ec9sm647871plb.61.2022.11.03.06.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 06:12:48 -0700 (PDT) From: Shuah Khan To: shuah@kernel.org, valentina.manea.m@gmail.com Cc: Shuah Khan , gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Fix uninit and signed integer overflow errors Date: Thu, 3 Nov 2022 07:12:41 -0600 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Fix uninitialized variable and signed integer overflow errors reported by cppcheck. Shuah Khan (2): usb/usbip: fix uninitialized variables errors usb/usbip: Fix v_recv_cmd_submit() to use PIPE_BULK define drivers/usb/usbip/stub_main.c | 2 +- drivers/usb/usbip/stub_rx.c | 4 ++-- drivers/usb/usbip/stub_tx.c | 4 ++-- drivers/usb/usbip/usbip_event.c | 2 +- drivers/usb/usbip/vhci_hcd.c | 2 +- drivers/usb/usbip/vhci_rx.c | 2 +- drivers/usb/usbip/vhci_tx.c | 4 ++-- drivers/usb/usbip/vudc_dev.c | 2 +- drivers/usb/usbip/vudc_rx.c | 7 +++++-- drivers/usb/usbip/vudc_transfer.c | 4 ++-- 10 files changed, 18 insertions(+), 15 deletions(-) -- 2.34.1