Message ID | cover.1667755987.git.drv@mailo.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1608553wru; Sun, 6 Nov 2022 09:57:09 -0800 (PST) X-Google-Smtp-Source: AMsMyM5UShX6VUfIXmvEDgPbbwiKK1hJffPRwXy+ObczzXJ6Fblx8OR2iYi9BK+Ur74/gmYA7Y6h X-Received: by 2002:a17:907:6d82:b0:7ad:dfb1:bcc with SMTP id sb2-20020a1709076d8200b007addfb10bccmr33591921ejc.766.1667757429057; Sun, 06 Nov 2022 09:57:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667757429; cv=none; d=google.com; s=arc-20160816; b=kHwgqB46DRoi1IUdW+3Ku90XQKeRIrRD4yVSEISfb4SD69OwiWKRzs8brKEZda0otZ 5pMrMndBQF+Jb2IZr/wadkMF15DDZuThawdZnfv7Y1aV9K9j40fyt0NGoUpka41ns+AD UljvnUNBv+cLhaYD1gGdjuGpzHAP9fWI4ncQzpYsiRP2yC3z6yKwjoetf85cOGtZcvuK S55+HCp368by3uI3FZ+zlW7JhUh8YJTTsX74Sn7fjO3m6zWRbgjOgeS2o4S32Or057GL VFcSLc7LYztdf85nmVMKd03wcX8Hce4gKB3JDgawf52SkeZ25l/+/Kb3mKit99glJMG+ 6bng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=peeB2bE/mbjAqM5buH4HvHwO9Ah81GGVNuO7y7YL+oc=; b=ObTLUXu/Vqz7K5w5shsAeP3Cl8WyOMNhfnoy35mFOvqZZdJBhbYLgbhqg0bWUODVod GuNyjYCgQvBlED0352f+VYytwZiyxkEz87nEcHR18x+kr0VG9fKfxlnxltnBirQIiCq3 u/TetCwYhXhB35gPs5ZEfBfgv16uhmQSfmkEJcy/EwMh/i6MzKWewqK+kWvooBaVqBWb 67eSIGi/asc4jUXqk3xj6uKUuVTStSaphMVfk7SWFcG58bEj4dwtxB358nLbwbGQe51v 1nSRvbc9l94cLRmCv0vF0tSHpX8ud4FEFjL3fWqsMdKTBZoyD+8BALS6LoxRKmce7och uaQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=bfmHtdUl; 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=NONE sp=NONE dis=NONE) header.from=mailo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv13-20020a17090760cd00b007add164bc81si4123671ejc.222.2022.11.06.09.56.44; Sun, 06 Nov 2022 09:57:09 -0800 (PST) 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=fail header.i=@mailo.com header.s=mailo header.b=bfmHtdUl; 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=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbiKFRye (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Sun, 6 Nov 2022 12:54:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbiKFRyd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 6 Nov 2022 12:54:33 -0500 Received: from msg-4.mailo.com (msg-4.mailo.com [213.182.54.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35DB9FD7 for <linux-kernel@vger.kernel.org>; Sun, 6 Nov 2022 09:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1667757254; bh=+YpV4K0Qx3G5hgqrE/gyL8EiAycq1OSpWbGx90RSfOA=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=bfmHtdUlwLH9/fDOoioVlkBc/FBsq0wWlvK9nbaiYpmPzuK49UNkUN3vq2AUCJNcx XrOObHF8eMv/PoX+zQ/lbeEPbRq0Repb6F8ZbGbcqxB9obTmA0FOUzGJzWL+K9XIJz +ZZTtMM9iOEpMa7j/rfJ1BFuvy7EV+Qxva4t4SFo= Received: by b-1.in.mailobj.net [192.168.90.11] with ESMTP via ip-206.mailobj.net [213.182.55.206] Sun, 6 Nov 2022 18:54:14 +0100 (CET) X-EA-Auth: H9GvGZlEnTujI3iKV7ccXlyHipKEAXZxpWcUvtv1TdY8Rknx9nI+/dv+53zizp0lisVP3vi/Rv5ABwcy3cqvQtFwwd1akCyg Date: Sun, 6 Nov 2022 23:24:01 +0530 From: Deepak R Varma <drv@mailo.com> To: Larry Finger <Larry.Finger@lwfinger.net>, Phillip Potter <phil@philpotter.co.uk>, Pavel Skripkin <paskripkin@gmail.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] staging: r8188eu: casting simplified Message-ID: <cover.1667755987.git.drv@mailo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748770413969505806?= X-GMAIL-MSGID: =?utf-8?q?1748770413969505806?= |
Series |
staging: r8188eu: casting simplified
|
|
Message
Deepak R Varma
Nov. 6, 2022, 5:54 p.m. UTC
Patch set proposes variable casting simplifications. Change improves code readability and appears more maintainable. Changes in v2: 1. Patch set introduced. Changes associated with pointer casting and variable casting are split into separate patches. Hence the patch set. Suggested by gregkh@linuxfoundation.org Deepak R Varma (2): staging: r8188eu: simplify complex pointer casting staging: r8188eu: remove unnecessary casting drivers/staging/r8188eu/core/rtw_br_ext.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.34.1
Comments
On 11/6/22 18:54, Deepak R Varma wrote: > Patch set proposes variable casting simplifications. Change improves code > readability and appears more maintainable. > > Changes in v2: > 1. Patch set introduced. > Changes associated with pointer casting and variable casting are > split into separate patches. Hence the patch set. > Suggested by gregkh@linuxfoundation.org > > > Deepak R Varma (2): > staging: r8188eu: simplify complex pointer casting > staging: r8188eu: remove unnecessary casting > > drivers/staging/r8188eu/core/rtw_br_ext.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > -- > 2.34.1 > > > > Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150