Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp77571rwn; Wed, 7 Sep 2022 20:30:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR7OrMp8W9nlX4+vVH/ohM0Jl6nDqkwFIbI/1nLsSq5IkqAhQNY6jPemBCHSCPXhcP3QDifm X-Received: by 2002:a17:906:8b81:b0:733:183b:988e with SMTP id nr1-20020a1709068b8100b00733183b988emr4443773ejc.457.1662607834593; Wed, 07 Sep 2022 20:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662607834; cv=none; d=google.com; s=arc-20160816; b=WbShPQCIYP+QZVAzxpxvUwxd9P0v2CVj5mvI29lcv+KFhV4NODxpzwB4d7jJUMT2Az 544x5JVqjzotKwKxlMtJAWh6AEIKdDdPnE5evhbVk6dFyf7jzFfzxz6026yexbmsyqj3 YSONxlww0B3fvVZs4nQgpb/J+WUaMTOSTJkVeFJ6VCfaiCRST1DMtiHyzMfSAHYzz0WP 6Y9/l2uLdBTre0x0gPZ7/rw6/7fkyTCCJHOieHZUNvBdrvM0igZUTM8KmFNLE5l/RtqN +0cZIKEH9tBlkNLLdr1Oy7PelfxVmiB3ksvoQ0YZWq79vgo+yU9kcOwTA5px0ZotQZGY nmNQ== 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=dy2AHX0eLVyQut7r5o95OVGk+cvwXcyQMewGghqY33M=; b=C7a4SStrKJ9X9hv88UkuYZm1k5eJdAtkCeBV92fPsxFI5Xu8VswRfyOx+2r/r96tQh Px4NPA/4vKDBlml8Zi8Po99QJzKHX4wQtV+xbUXd6jMJdAXbrUXmVcl6OSjT6t3K6821 K7v4T0YoHOARXBndyJdB/oMKePc22VI3HwKAw6dKhotNGz+JM06MasGp3vncLl/ZLc4Y qZ+K8Ev6Nbgf+EkDoCrRfCnfPl2xz7NqMIj0YlfQRJeMGUs1wMa6Do6sFBxEKj5sgMLe kUZ7HxsYMNnzPFYgd103d6JylVhRLuvFJtO+AKfnFsXygy5wOeokL9UMll1pddkklS2U hRoA== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq18-20020a1709073f1200b0076570a4c124si1193374ejc.30.2022.09.07.20.30.09; Wed, 07 Sep 2022 20:30:34 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbiIHDEk (ORCPT + 99 others); Wed, 7 Sep 2022 23:04:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbiIHDEg (ORCPT ); Wed, 7 Sep 2022 23:04:36 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B64F2DFD; Wed, 7 Sep 2022 20:04:28 -0700 (PDT) Received: from canpemm500006.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MNP4C5zc6zZcKc; Thu, 8 Sep 2022 10:59:55 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by canpemm500006.china.huawei.com (7.192.105.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 8 Sep 2022 11:04:25 +0800 From: Ziyang Xuan To: , , , , , CC: Subject: [PATCH 0/2] can: bcm: random optimizations Date: Thu, 8 Sep 2022 11:04:18 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.82] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500006.china.huawei.com (7.192.105.130) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Do some small optimization for can_bcm. Ziyang Xuan (2): can: bcm: registration process optimization in bcm_module_init() can: bcm: check the result of can_send() in bcm_can_tx() net/can/bcm.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) -- 2.25.1