Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp334478rwb; Thu, 11 Aug 2022 02:18:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR4R+MLIaEitUH76LZj5bBdol77tyoIkOp4wb98UgkeWKJ9fQn7kbOPlCC6I9Y0+m2hRA3vQ X-Received: by 2002:a17:907:28c9:b0:730:c053:986f with SMTP id en9-20020a17090728c900b00730c053986fmr23136580ejc.194.1660209528819; Thu, 11 Aug 2022 02:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660209528; cv=none; d=google.com; s=arc-20160816; b=lRNDrvZT4VH0MN8kPU2RGprGKqXChE3YBazJIPEIEEugqXW8P2oBm1WOhXZaUN8qpK qBORrrVHLXYrtXGydUNB3HwxKRhpc7kxlMH4mQR0YFIDP8f++0a6gPO4aGFlmfO5OnDd I3ykwaXwhHWBeA+RMtIu561nF/4YSxUEmBQdb6vBpBqML3imSXm87jNgzxNQcuwmBVQV 36+bWBBu27G1Rou53pGl914IeRnX1ry+JNgslM9kVbCXh6KD7xx57qAwuOJkFyiHQoNs gUcOMZrv2v/3FS5Rso5cEHzSgtDEi8Ifq5SZBXoHXxnL7IX7Gr8k8mpqFsusPfu+CHA1 CAYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=8kaqGw9PtqOicpQnllVeKM2c3QebtWYHYok+Z8olU2k=; b=xOX9lNLauakdjsYXs47ALHFeW1E10l0y8XNroKYn3CiStM2arxfDWOQrV/hqYSFZb5 Cljh1rY9/k5MY8PHjJeZp3wSPHyZ9Ioaf95K7TM7NS6E2SZUkA0C2oDI96W30pxUxqTW oLOdh9/+yjZ7O2oc7t7fnKiFvvFjf3FDC2LgevEzFUQ0lQ5fh7t36drNU3aSrieYLd2f bHlJMuThppZmfKq1ZLFKFA47yQ3SCst8AXYp4EQWXoEWVUptwRlK8Iy4v7rX1WPMM1jm 5I//MdCvDLloUpAokmLQR01uFHYRDbSuoyJ/s1Hs1to1Od/TxZmax1/XgUWdqtGjS/OB +ijg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd7-20020a1709069b8700b0073045237fd2si7163975ejc.751.2022.08.11.02.18.22; Thu, 11 Aug 2022 02:18:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234875AbiHKJFL (ORCPT + 99 others); Thu, 11 Aug 2022 05:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233983AbiHKJFI (ORCPT ); Thu, 11 Aug 2022 05:05:08 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8C39020BE7; Thu, 11 Aug 2022 02:05:06 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 74C4B1E80D32; Thu, 11 Aug 2022 17:03:03 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I1Wo2GY-nHMM; Thu, 11 Aug 2022 17:03:00 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zhoujie@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id C6A071E80CE3; Thu, 11 Aug 2022 17:03:00 +0800 (CST) From: Zhou jie To: gregkh@linuxfoundation.org Cc: johan@kernel.org, kernel@nfschina.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, zhoujie@nfschina.com Subject: Re: [PATCH v2] usb/serial:Repair function return value Date: Thu, 11 Aug 2022 17:05:00 +0800 Message-Id: <20220811090501.6999-1-zhoujie@nfschina.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: References: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_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 The return value processing has been done in the write_mos_reg() function, no additional operations are required here, just return the result directly. Also the indentation of the second line is now incorrect? What's wrong?