From nobody Thu Nov 28 05:53:50 2024 Received: from sonic314-22.consmr.mail.ne1.yahoo.com (sonic314-22.consmr.mail.ne1.yahoo.com [66.163.189.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36C1E22067 for ; Fri, 4 Oct 2024 03:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.163.189.148 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728012966; cv=none; b=SgDXcv1b7iEY9iefOqOjGm8tS1hvITtsKJwpdRDrubgdwkxoAmaK6ZB6zehkn2CaWQc7twLRYT24n1c8pdlY3dLFih6XCufYbKxiIKeUyc8GSe1GtsvpwtnwZSdb5X5/stEA8DQp8cYd+9g8lFWMuVDLDs+elTgfBnSkmlgJWYg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728012966; c=relaxed/simple; bh=VJuuzroqJgZYENLBrsW3aheh2WTfa0sOcRL9hbIbKUc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:References; b=HYiKx+wXvLWDhzCiE3HWYUELof2q6DmvQo9bLR4Pu+3yXN7+CumPNxFIwXFoP5Q3MxPrU1M6H8196llxshUX3VwruSnc3hN71ro5iisHxvYY/fj/K5nUmWwIA0z4B6hqR/V8MFDxxYM3BbqqDpYTuyqHRo5j5wmyLd2cg5L0exY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.com; spf=pass smtp.mailfrom=yahoo.com; dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b=Cr6KkxBG; arc=none smtp.client-ip=66.163.189.148 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=yahoo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yahoo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b="Cr6KkxBG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1728012964; bh=fxOLENbaZk22qLVdZz3DCzbj36kx6WCUGmr+2MaK+U8=; h=From:To:Cc:Subject:Date:References:From:Subject:Reply-To; b=Cr6KkxBGzCw+X9/J+190Mg8FY6jKxG1Dj0rsZPHkg6NwI2snY33ozEvQeVmf2Xmvb9t2DMSnpcTig3GD1ScqktgEYDDUWUQxbGd7G0yPCLa1LyoXW3u589+hzU7fDeT7+M1LOb1cXGYGJDmzcCW8THJJqzEjXRRLm5LKQj6DTEujlktXNU/usEFsvMwiqh7Okrcmcbae/iULO3lesOdsv++YEbV69sFBOwPSlO8kxiwuTxWuIb67mLha+QUygSoxxoB39uUVtUusm+F7MOEuB1d111cUUcv6QWAJUk9hxI6MjEkIhWOD0r3agz+LO8zl0HVIq9lplHABpebqy1G09A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1728012964; bh=Ser77fXLRxjJXREjUFK/rp6RhmUEwg4+1xIRNchgJlW=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=hc/9Y/bEIIop/3s4xzxcu1B8mI1RryOvWTNX8mUr1ds6wik2xgAf8UAkvPOj0YHBcjAkwZRS4fw7DDsYRWQiKRiZRe6hePzoNoN9l7RqhV6ZYihKx2RrfIMsQAG3Cx3ial/bKBgbNfG2dg9IgQVzru5qT/CUz39t0nKtHZSnuHPIo+V5c1lT2HOfc/8Fjf2A2zeHi9X4FHVyM40pFJADCI0dKrrq2eId1M1CR+f/2+MyDplRMn0rgsN9ADEdkcWpe4dP/2ePE0JFIxLaWD9UbYzmcM60D5rIR9kZPuL/VieT23oEP+v9jGQ2GpRzltkhtoIcOMfK7Urp9RNTw6a7zA== X-YMail-OSG: xCE0O_0VM1n_xotxNcZHDv19pe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a8Oo1WicJLIlD.3cdgQLUgvHStZ15Q9 1O4EWp6jCBNxBMgvgB9mkcoOjh9OFR3fcs7_NOSD6eZQnB5ye2lvWkdENv3Y0kCjckUsdmwLQP7I 1v3zC0HB9iBOSXhex1InKnEc9M3ueVlFAYX69INSTQa8SD5m.HLYKlA9cjqPXhOk- X-Sonic-MF: X-Sonic-ID: 091dc0ee-1610-478a-ba36-5e008efc94f0 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Fri, 4 Oct 2024 03:36:04 +0000 Received: by hermes--production-gq1-5d95dc458-5n5gs (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 976521b2d41838e24b741dfbee830839; Fri, 04 Oct 2024 03:05:38 +0000 (UTC) From: Manuel Quintero F To: duncan.sands@free.fr Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Manuel Quintero F Subject: [PATCH] USB: atm: speedtch: do not use assignment in if condition Date: Thu, 3 Oct 2024 20:05:12 -0700 Message-ID: <20241004030512.2036-1-sakunix@yahoo.com> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <20241004030512.2036-1-sakunix.ref@yahoo.com> Content-Type: text/plain; charset="utf-8" Fix checkpatch error "do not use assignment in if condition" Signed-off-by: Manuel Quintero F Signed-off-by: Manuel Quintero F --- drivers/usb/atm/speedtch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index 973548b5c15c..dfd362abf602 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c @@ -324,7 +324,9 @@ static int speedtch_upload_firmware(struct speedtch_ins= tance_data *instance, because we're in our own kernel thread anyway. */ msleep_interruptible(1000); =20 - if ((ret =3D usb_set_interface(usb_dev, INTERFACE_DATA, instance->params.= altsetting)) < 0) { + ret =3D usb_set_interface(usb_dev, INTERFACE_DATA, instance->params.altse= tting + + if (ret < 0) { usb_err(usbatm, "%s: setting interface to %d failed (%d)!\n", __func__, = instance->params.altsetting, ret); goto out_free; } --=20 2.45.2