Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1623989imw; Sat, 16 Jul 2022 10:44:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sKLICQ5RqzC6SMfbTn+bz/UMC0BDPXviBQlCoAfmQGybGLfBAhGKbLLp6eujCfNMNsqFAR X-Received: by 2002:a05:6402:2691:b0:43a:d26b:f949 with SMTP id w17-20020a056402269100b0043ad26bf949mr27018634edd.92.1657993473688; Sat, 16 Jul 2022 10:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657993473; cv=none; d=google.com; s=arc-20160816; b=fO7EkuGgUAea8MIrokohH1RrvT2mrYvqJbcetpCZXBA1/khJEp8nXRrlJf6DMP6ouJ A4yY37vy0el4aKIxs/0Bl1yGu2B61CSt8HKL3easiTu1UMnhJoeutILzlgVRzAcaks9h /0fBoYb6R/BILLdA/cSQRpxGSssL5NYp/WTXv0aYVcWMJArtH2WR7CV27tQKq9f7bCBh oCUKzDERWTSZrfgL3Zj7DdLVVXIk+wUEVXFGgZIdPqeGQwsFbuAHq96FcisBmYh+95z9 zkpG0/FITyS2zCiA42mxQGxLK6E2iwlGiKzyfpGxkAg5CoTu7Z7EJngQBk4T0lFXg3zA ommw== 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=o5SHoKOlnIy7h2f2yOMygK1Ar0sEJbou+Jr7kQWQWPk=; b=QNC1wgAPwsLKMHV3SoBoj0Qy6imjt42XbMjk9/uHuCEZrIyc5f09TNg3IhE2u6hzhm ocmkd4PKfyd5C4t2I65JITbwpnWg7BzZL8rfW6lLg19CslZxrmtuDW9P9pJ1CeosjO8Z eOr28ToCNY8XCJf5Rh3piwK0BdSt5FnxThTHqkiln4xkfB0MVCO/N934YWi153M51Oxr VekodoQC1+OrUXnWfwnmFshafpnnUn+Q2QmOrisvhN6fZPbJ9T/lwrvZGd9NBnmNJcqi ZAZER7DwTgikrlwpGYQRgpEi4DLJabBqjGlyc5jzF3cnV1HDlPaKNFPTEHmxmlqk6u3F UfKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=pcZqNzB7; 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=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb14-20020a170907960e00b00722e51021b3si8967665ejc.74.2022.07.16.10.44.08; Sat, 16 Jul 2022 10:44:33 -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=@amarulasolutions.com header.s=google header.b=pcZqNzB7; 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=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbiGPRBV (ORCPT + 99 others); Sat, 16 Jul 2022 13:01:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbiGPRBU (ORCPT ); Sat, 16 Jul 2022 13:01:20 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A1001F631 for ; Sat, 16 Jul 2022 10:01:19 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id r18so9958081edb.9 for ; Sat, 16 Jul 2022 10:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o5SHoKOlnIy7h2f2yOMygK1Ar0sEJbou+Jr7kQWQWPk=; b=pcZqNzB7ZJ5tm4qEGbBxeyD5nosknoKSBJSrW3BjFwMUsUoJCIwBb48kpHkD0t9a7b fbwmnjsJ++wB1WpDVOjtacgwPae9ogUSWYITD6H6i08N6cJVT0JQbBMfb+LoYR0fU/fC t4/FM+SRVJrG+fw1u4wGKSYoxBVsADZYnzg9w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o5SHoKOlnIy7h2f2yOMygK1Ar0sEJbou+Jr7kQWQWPk=; b=K3KcwyRoKJG33wGCBaKl88poZ254cBofhgCPvlb2C3+hb3WZbHnE3dKLeaKDL1VOSv UAmLocgz/UJ3N137kR1iQItFIdDBI2cXXc3Se18UYxOQhbNYqIntfkrWbACinR74E1/P OVuH4LGXt1kx9x6kmqrMDIwM+GIQP+PSvBDvVbNt6UIpn9lr0ohSuSngdDrK10HCeT7f 0lv1wloTTQfZvFWF3iaKNm3x/+K4UKOJYVDh7LXiwWmYPxzEIzMjzQeRGM384pTlbAKZ 4Lcrrs6YQru/6n6i1ceJDmyw3BHxHjvWkNgJV1PAjlKGzz2WcokSquYpXMCirUi1f7op ddqg== X-Gm-Message-State: AJIora/WVuFjIofhxgz5X+aK7Hs0FMY0TSdopg2FQNmVvEi2BDhjKCbN gKHZeICIQCxE6TT5NpFY3vACte4JhUSbJw== X-Received: by 2002:aa7:cac7:0:b0:43a:c5ba:24a6 with SMTP id l7-20020aa7cac7000000b0043ac5ba24a6mr26254692edt.84.1657990877524; Sat, 16 Jul 2022 10:01:17 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-182-13-224.pool80182.interbusiness.it. [80.182.13.224]) by smtp.gmail.com with ESMTPSA id i22-20020aa7c716000000b0043a64eee322sm2953898edq.28.2022.07.16.10.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 10:01:17 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Marc Kleine-Budde , Oliver Hartkopp , Paolo Abeni , =?UTF-8?q?Stefan=20M=C3=A4tje?= , Vincent Mailhol , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH] can: c_can: remove wrong comment Date: Sat, 16 Jul 2022 19:01:12 +0200 Message-Id: <20220716170112.2020291-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 The comment referred to a status (warning) other than the one that was being managed (active error). Signed-off-by: Dario Binacchi --- drivers/net/can/c_can/c_can_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/can/c_can/c_can_main.c b/drivers/net/can/c_can/c_can_main.c index a7362af0babb..ed4db4cf8716 100644 --- a/drivers/net/can/c_can/c_can_main.c +++ b/drivers/net/can/c_can/c_can_main.c @@ -952,7 +952,6 @@ static int c_can_handle_state_change(struct net_device *dev, switch (error_type) { case C_CAN_NO_ERROR: - /* error warning state */ cf->can_id |= CAN_ERR_CRTL; cf->data[1] = CAN_ERR_CRTL_ACTIVE; cf->data[6] = bec.txerr; -- 2.32.0