From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6808264476634120192 X-Received: by 2002:a63:6bc1:: with SMTP id g184mr9392166pgc.404.1585247239904; Thu, 26 Mar 2020 11:27:19 -0700 (PDT) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 2002:a17:90a:9e2:: with SMTP id 89ls4882874pjo.2.canary-gmail; Thu, 26 Mar 2020 11:27:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvbPbALo3vfCPVYTwAFJQMAUbSP8CjFxWIpTp8vyW/HlyJBmwv+DjdDt6Jc7m8t5xuodEU5 X-Received: by 2002:a17:90b:4906:: with SMTP id kr6mr1450295pjb.13.1585247238104; Thu, 26 Mar 2020 11:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585247238; cv=none; d=google.com; s=arc-20160816; b=sZjUV19MOeMy0BdSCSfGCEndhP4oKgDT40fzPHvC6eGfDUVPR1qKDkGlQLimbS9+dl yVt6My/JPutMx3C/CWIEjBV58OYo0ae6Ak455R7kc/WlMOxboIkVcj1qldEh7j95Xo7V YCefqviANW2aFlzEcp3nM2cI7q3OpKcV79kZ+LrFjA9/J5Di5PwnD4BtlnDmw8ec3QTE lKFfnoN0qEdGRAtGtI0VSkz71YQgdWj31qmff3laGvmpffT4Iero9tSMwvyjSsYDcZ2p fX76yR1+J/9WNQE6+XHHufI0QeaUB1hiNccLcE6SIqlkjnPHnNPaYZZayH/6/TgIukRi MgYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :dkim-signature:dkim-filter; bh=o38dnb32CGjX8brBUo5ZouRpDyVR7JANEbmWnk2DbUU=; b=DH3oAsCCPpMYNLh4B1hWv99rZZ0AwGjFctjuBU4KjUZ5fkzCgpW18s0W5r2keTITeP MA+68UvLiqwN1+ZPa37HnIbDTGZ7q/AK47vLKE94qhERGOexcg7Ityrg5nQ3qxIbm1J5 TsLXBNQ/vulcQRU6mmxO+iHGd3CF7465J++B18s9jLiDYhC5CP+YXE42655Fh+xs9WfH NOJEFtAM093Tiw0myCz6835+/ZOWsw0DiqZucQA9qdAAWMOfisaeCJcNdfyzuHZsg7js YyJ3e9al6371MGudZWoedI0cTxheBxdGSBEJq8W/xj3HPEOjc2SlYTm8wIQni8JNHBV9 Bytw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=bZymhhX+; spf=pass (google.com: domain of nramas@linux.microsoft.com designates 13.77.154.182 as permitted sender) smtp.mailfrom=nramas@linux.microsoft.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from linux.microsoft.com (linux.microsoft.com. [13.77.154.182]) by gmr-mx.google.com with ESMTP id u15si170916pjm.1.2020.03.26.11.27.18 for ; Thu, 26 Mar 2020 11:27:18 -0700 (PDT) Received-SPF: pass (google.com: domain of nramas@linux.microsoft.com designates 13.77.154.182 as permitted sender) client-ip=13.77.154.182; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=bZymhhX+; spf=pass (google.com: domain of nramas@linux.microsoft.com designates 13.77.154.182 as permitted sender) smtp.mailfrom=nramas@linux.microsoft.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from [192.168.0.109] (c-73-42-176-67.hsd1.wa.comcast.net [73.42.176.67]) by linux.microsoft.com (Postfix) with ESMTPSA id 87EE220B4737; Thu, 26 Mar 2020 11:27:17 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 87EE220B4737 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1585247237; bh=o38dnb32CGjX8brBUo5ZouRpDyVR7JANEbmWnk2DbUU=; h=Subject:To:References:From:Date:In-Reply-To:From; b=bZymhhX+VPOoHNwMoJgxan6I7+DGZTBmGuKMza4vKzlWiWCfLq8FrRpPUkpFz9P58 5rAHHCrvJdAQTRuKPiD5Jsxaq7DxHoW5OcbjdlWKJoAy4vUW771WwG2DXiTGGH1Qfd 5LiULj+UfirXnyVf22yPVBW5pNe+XxmEvP0jDfyY= Subject: Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: hal: Compress return logic To: Simran Singhal , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com References: <20200325214312.GA1936@simran-Inspiron-5558> From: Lakshmi Ramasubramanian Message-ID: <27ca4063-f34b-030d-f593-1d9a4f3c1165@linux.microsoft.com> Date: Thu, 26 Mar 2020 11:27:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200325214312.GA1936@simran-Inspiron-5558> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 3/25/20 2:43 PM, Simran Singhal wrote: > Simplify function returns by merging assignment and return into > one command line. "Simplify function returns by merging assignment and return into one line". You could change the subject also to "Simplify function return logic". thanks, -lakshmi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CFF8C2D0EC for ; Thu, 26 Mar 2020 18:27:22 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 102C820719 for ; Thu, 26 Mar 2020 18:27:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="bZymhhX+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 102C820719 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5ECBF88748; Thu, 26 Mar 2020 18:27:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iL56vydtQtYK; Thu, 26 Mar 2020 18:27:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1BFEF88739; Thu, 26 Mar 2020 18:27:20 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D04DB1BF372 for ; Thu, 26 Mar 2020 18:27:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CA88A88739 for ; Thu, 26 Mar 2020 18:27:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2xiba44bMSdK for ; Thu, 26 Mar 2020 18:27:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by whitealder.osuosl.org (Postfix) with ESMTP id 3A4BC8867E for ; Thu, 26 Mar 2020 18:27:18 +0000 (UTC) Received: from [192.168.0.109] (c-73-42-176-67.hsd1.wa.comcast.net [73.42.176.67]) by linux.microsoft.com (Postfix) with ESMTPSA id 87EE220B4737; Thu, 26 Mar 2020 11:27:17 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 87EE220B4737 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1585247237; bh=o38dnb32CGjX8brBUo5ZouRpDyVR7JANEbmWnk2DbUU=; h=Subject:To:References:From:Date:In-Reply-To:From; b=bZymhhX+VPOoHNwMoJgxan6I7+DGZTBmGuKMza4vKzlWiWCfLq8FrRpPUkpFz9P58 5rAHHCrvJdAQTRuKPiD5Jsxaq7DxHoW5OcbjdlWKJoAy4vUW771WwG2DXiTGGH1Qfd 5LiULj+UfirXnyVf22yPVBW5pNe+XxmEvP0jDfyY= Subject: Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: hal: Compress return logic To: Simran Singhal , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com References: <20200325214312.GA1936@simran-Inspiron-5558> From: Lakshmi Ramasubramanian Message-ID: <27ca4063-f34b-030d-f593-1d9a4f3c1165@linux.microsoft.com> Date: Thu, 26 Mar 2020 11:27:12 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200325214312.GA1936@simran-Inspiron-5558> Content-Language: en-US X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" On 3/25/20 2:43 PM, Simran Singhal wrote: > Simplify function returns by merging assignment and return into > one command line. "Simplify function returns by merging assignment and return into one line". You could change the subject also to "Simplify function return logic". thanks, -lakshmi _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel