Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2873536lqp; Mon, 25 Mar 2024 11:37:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWxg2rtMv9yM/d/7xLzuhy8IyksmC3VRir/SqAiEooG5KKXAOH3NQydHgz4wBKzE4l+q31BzeDrXAxF1CQ681k1tqg5PAwSM6JIPHJGEw== X-Google-Smtp-Source: AGHT+IFW21c8oB31Cwgy8sTnnCoKrz6HJWBhs4o4BdxyDAh0vT0aJ7Uc4FueDtjr6VmF0B8YohWI X-Received: by 2002:a92:c8d1:0:b0:366:89b9:565c with SMTP id c17-20020a92c8d1000000b0036689b9565cmr9425091ilq.15.1711391847376; Mon, 25 Mar 2024 11:37:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711391847; cv=pass; d=google.com; s=arc-20160816; b=h9IUzeUk4toSQU1Ey5TmENppMLkAwyY1StMgbdpOH4mNoFOLwfzC28mTqLwoMTSvkQ R3//RCgivD4yDwhenZCUTB9QRxRGHTmcUNXy0E6qqkjrbqAHSflIjTh7xX4G7ZCWAe4e I1XredRGcFbnY9DQp80WynOggpJNMqa/viEHFnZEGDk84bjKrs/G7fDyTN8v3yPc4AYG 8pTZk0mdHN01FY9wEMZ/giDNQUFdIoLD6e1xa41xj5TqvAzAlcqyqU3uo2cOnJdwX0Jn iXz0xa/SGAIyEoMEzarXMkG+zAVphvQ3j4dh8xSeorzG8IW2R05MyDrk5xNJw4DzQgp+ QBUQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=9TkK+lBWZC2qMtGl3T55LQPQa+j5LeFf4SEKJP2BMMU=; fh=zCoKmmtWPMDHL0c5wj9Lrod5Su5pY/S5HDVASmUw7F0=; b=OXwU9DHIWBjJaKJ64lJ/pAQiyLRylY9GF+qkMBdgVQjQRtaJtxbNJNnVsggYRy1GQ1 dROpeWZH+VUTQgmX6H0iPpQx9D7O7JEj34HIuoqVob1uDFPxnCVhNNT5tR+UywAvZJ10 yuf1HXceZlomIoed38jvD8DFrkhEt/iMO3z4hAqsk0kiqzupVxiUv7Z19k4g77XIyen1 KDlTK5z/qrR1oyWnOTKXsu8585iihZ3b/zLB8ZoPQRrLQ9gqj1jSMibxuzShaCYAwUSQ zczYhJc6Zv6KnPl5kLo503g6550fXZDB4NqPfxtG6+PaffA1INLNdJsUrL5izulZmViY 65LQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=W+HUSgdd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-117659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117659-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i13-20020a63e44d000000b005dc47dd5dd2si8211332pgk.791.2024.03.25.11.37.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 11:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=W+HUSgdd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-117659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117659-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 218F0320B50 for ; Mon, 25 Mar 2024 18:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 286021BC35; Mon, 25 Mar 2024 17:54:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="W+HUSgdd" Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87B0A2579 for ; Mon, 25 Mar 2024 17:54:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711389272; cv=none; b=hAGIV9SCMjfwEVjRu1MxCMiP5e9R/P5xXlhpsZ0GkKOcYJ2kdHWIUr8sTSCysDr9ROdc2ZgyKNoi/oXa/aLASAUOUnz3lhFg3qQq/tkH4ItvcOn0VrB9nArSl/dMi6PM9SPoMS/cXK/gE+g4YPoY6CmoEoud9ol9PtuNJjUQFmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711389272; c=relaxed/simple; bh=phl1On+LvXNW/Nrgaz1L3HLhaynxmPpRJ+BBZHYNgxg=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=Go/Zk2D4z5fU1lAoA7JWCv92b+y0fdbPCbOMyt31H8s1QrX43GrWiF1p2VgyYeDhLDf3kUgrnAeKkF3Mf6N+hpa4fi8GERcHgu51kdoOUrjAi4C9m+SJGBxApH+WrMe7LrLWO8T94FwS0WqnQeUpUfopmLExEwvFGWxpuhZ8djI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=W+HUSgdd; arc=none smtp.client-ip=209.85.210.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6e6afb754fcso4096834b3a.3 for ; Mon, 25 Mar 2024 10:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711389270; x=1711994070; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=9TkK+lBWZC2qMtGl3T55LQPQa+j5LeFf4SEKJP2BMMU=; b=W+HUSgddaNGSVN619Mn47DTH/QmsZkUFDRLsReOSujMvqd4Gj4ZJrWFb3FXoZmuly1 h0+4EcI3bELJyBE0KYZoEhQ9GhkLI3KfUQreaY+c70QONXi2bGBTc73SRubiv6qnwbZK uhcP4tWNvuyY0BmcHYcYizvw28ANZjW4sWpTCt7Lv8c8AKB4V06Al0fUlAMewfPflxrW +fNPWy1ywnuF5rYejj81blPDJJWvuucG2deSe6uR3T4uQmFonx8/xhaeVBbxEOIidl7U Pru43kBN0uInak96ipAvyaFAMwRvcbb7FtC/t/s8ZXUJ+fBWoLx08LxaEzXZW4UWSdbA gC1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711389270; x=1711994070; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9TkK+lBWZC2qMtGl3T55LQPQa+j5LeFf4SEKJP2BMMU=; b=LePy2A5x33t/DxlRkmAZ3a4BuYec077nrRY1edJVqwT0P+6arDklJyLeNeYfR98HAo 3VwqSPwk9/vgKHxHPO0/b4KpRpew/4spYqovgwbNQMrvVG/tQQGdsG1jO32W5vYmG3rJ KiNwnPb/uL2CBddOxFfgbWSCve5j6Csazj1ehlCQiXMrciMxQlD1XJYfsZf8yWAgi3yQ TNMJkpZZpcKLO+ikhz3XyfcaRj7BfGEJbCReiW7kZzw81arysPYDmfwO+somV5h5P5Ph yFQ341I6m4JeiYZOcDAJY7ceEyHjp2JIurGAm++mlwzkZ5o64YF7vOB9SFZTPtQYEC3O eBQA== X-Forwarded-Encrypted: i=1; AJvYcCX8roAvLyuCAeGojLFhcTwpFLFQ7Rb5dZhaWJ3Jo4mpjyBznmR5fgx17aqbOdfzkoua+tkab0ll0ZhU1Gwypx53Ve2hxHiQwBMGDG23 X-Gm-Message-State: AOJu0YxHCK2je36kmHhyj8xaivPJLlO3yYb3bg7KYlV8XedAT3wNuNLF vZZe/feMaaYn0KplxayNGhPJYvNS5Q0QjteNlHOzhJDlYnYFQ8j/K+WRf2B3aL4= X-Received: by 2002:a05:6a20:f20:b0:1a3:4c97:23a2 with SMTP id fl32-20020a056a200f2000b001a34c9723a2mr7261292pzb.20.1711389269778; Mon, 25 Mar 2024 10:54:29 -0700 (PDT) Received: from ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx ([103.6.158.65]) by smtp.gmail.com with ESMTPSA id k20-20020a63f014000000b005d8b89bbf20sm5983671pgh.63.2024.03.25.10.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:54:29 -0700 (PDT) Date: Mon, 25 Mar 2024 23:24:24 +0530 From: Ayush Tiwari To: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Cc: outreachy@lists.linux.dev Subject: [PATCH] staging: rtl8712: Fix instances of lines ending with '(' Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Fix instances of lines ending with '(' to address checkpatch warning "lines should not add with a '(' " and conform to common kernel coding style. Signed-off-by: Ayush Tiwari --- drivers/staging/rtl8712/rtl871x_ioctl_rtl.h | 123 +++++++------------- 1 file changed, 41 insertions(+), 82 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_rtl.h b/drivers/staging/rtl8712/rtl871x_ioctl_rtl.h index 7c0b880ac686..70d48e6b4112 100644 --- a/drivers/staging/rtl8712/rtl871x_ioctl_rtl.h +++ b/drivers/staging/rtl8712/rtl871x_ioctl_rtl.h @@ -18,92 +18,51 @@ #include "drv_types.h" /*************** oid_rtl_seg_01_01 **************/ -uint oid_rt_get_signal_quality_hdl( - struct oid_par_priv *poid_par_priv);/*84*/ -uint oid_rt_get_small_packet_crc_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_middle_packet_crc_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_large_packet_crc_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_tx_retry_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_rx_retry_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_rx_total_packet_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_tx_beacon_ok_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_tx_beacon_err_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_rx_icv_err_hdl( - struct oid_par_priv *poid_par_priv);/*93*/ -uint oid_rt_set_encryption_algorithm_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_preamble_mode_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_ap_ip_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_channelplan_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_set_channelplan_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_set_preamble_mode_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_set_bcn_intvl_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_dedicate_probe_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_total_tx_bytes_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_total_rx_bytes_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_current_tx_power_level_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_enc_key_mismatch_count_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_enc_key_match_count_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_channel_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_hardware_radio_off_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_key_mismatch_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_supported_wireless_mode_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_channel_list_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_scan_in_progress_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_forced_data_rate_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_wireless_mode_for_scan_list_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_get_bss_wireless_mode_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_scan_with_magic_packet_hdl( - struct oid_par_priv *poid_par_priv); +uint oid_rt_get_signal_quality_hdl(struct oid_par_priv *poid_par_priv); /*84*/ +uint oid_rt_get_small_packet_crc_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_middle_packet_crc_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_large_packet_crc_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_tx_retry_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_rx_retry_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_rx_total_packet_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_tx_beacon_ok_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_tx_beacon_err_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_rx_icv_err_hdl(struct oid_par_priv *poid_par_priv); /*93*/ +uint oid_rt_set_encryption_algorithm_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_preamble_mode_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_ap_ip_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_channelplan_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_set_channelplan_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_set_preamble_mode_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_set_bcn_intvl_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_dedicate_probe_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_total_tx_bytes_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_total_rx_bytes_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_current_tx_power_level_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_enc_key_mismatch_count_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_enc_key_match_count_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_channel_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_hardware_radio_off_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_key_mismatch_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_supported_wireless_mode_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_channel_list_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_scan_in_progress_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_forced_data_rate_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_wireless_mode_for_scan_list_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_get_bss_wireless_mode_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_scan_with_magic_packet_hdl(struct oid_par_priv *poid_par_priv); /************** oid_rtl_seg_01_03 section start **************/ -uint oid_rt_ap_get_associated_station_list_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_ap_switch_into_ap_mode_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_ap_supported_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_ap_set_passphrase_hdl( - struct oid_par_priv *poid_par_priv); +uint oid_rt_ap_get_associated_station_list_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_ap_switch_into_ap_mode_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_ap_supported_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_ap_set_passphrase_hdl(struct oid_par_priv *poid_par_priv); /* oid_rtl_seg_01_11 */ -uint oid_rt_pro_rf_write_registry_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_pro_rf_read_registry_hdl( - struct oid_par_priv *poid_par_priv); +uint oid_rt_pro_rf_write_registry_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_pro_rf_read_registry_hdl(struct oid_par_priv *poid_par_priv); /*************** oid_rtl_seg_03_00 section start **************/ -uint oid_rt_get_connect_state_hdl( - struct oid_par_priv *poid_par_priv); -uint oid_rt_set_default_key_id_hdl( - struct oid_par_priv *poid_par_priv); +uint oid_rt_get_connect_state_hdl(struct oid_par_priv *poid_par_priv); +uint oid_rt_set_default_key_id_hdl(struct oid_par_priv *poid_par_priv); #endif -- 2.40.1