RE: [PATCH AUTOSEL 6.1 3/7] x86/hyperv: Use slow_virt_to_phys() in page transition hypervisor callback

2024-03-12 Thread Michael Kelley
> > This seems to be preparation for something we don't plan to do in > -stable. Please drop. > As the author of the patch, I agree. Michael ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Overview of promotional materials

2023-09-22 Thread Michael Beutler
asing decisions. If you are interested in this topic, please reply, and we will get in touch with you. Kind regards Michael Beutler ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Very Urgent,

2022-12-02 Thread Dr. Michael Omar
-- Hello, I tried e-mailing you more than twice but my email bounced back failure, Note this, soonest you receive this email revert to me before I deliver the message it's importunate, pressing, crucial. Await your response. Best regards Dr. Michael

Covid 19 Wohltätigkeitsfonds

2021-06-04 Thread ''Michael Weirsky''
Lieber Freund, Ich bin Herr Mike Weirsky, New Jersey, Vereinigte Staaten von Amerika, der Mega-Gewinner von $ 273million In Mega Millions Jackpot, spende ich an 5 zufällige Personen, wenn Sie diese E-Mail erhalten, dann wurde Ihre E-Mail nach einem Spinball ausgewählt.Ich habe den größten Teil

[PATCH 2/2] staging: rtl8188eu: rename parameters of odm_phy_status_query()

2021-03-06 Thread Michael Straube
Rename parameters of odm_phy_status_query() to avoid camel case. pDM_Odm -> dm_odm pPhyInfo -> phy_info pPhyStatus -> phy_status pPktinfo -> pkt_info Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 9 - drivers/staging/rtl81

[PATCH 1/2] staging: rtl8188eu: rename ODM_PhyStatusQuery()

2021-03-06 Thread Michael Straube
Rename ODM_PhyStatusQuery() to odm_phy_status_query() to avoid camel case. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 6 +++--- drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c | 4 ++-- drivers/staging/rtl8188eu/include/odm_hwconfig.h | 8 3

Re: [PATCH] media: allegro-dvt: Use __packed sentence

2021-02-01 Thread Michael Tretter
ist on a 2n+1 > boundary. Not sure, what you mean by this. > But that is only likely if part of some binary sequence. > In which case I'd expect it to be marked __be or __le. It is part of a binary sequence. It is the header of messages in a mailbox that is used to exchange data wit

[PATCH] staging: rtl8723bs: clean up brace coding style issues

2020-12-22 Thread Michael Straube
Add missing braces around else arm of if else statement to clear style issues reported by checkpatch. CHECK: braces {} should be used on all arms of this statement CHECK: Unbalanced braces around else statement Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_efuse.c | 3

Re: [PATCH] media: allegro: Fix use after free on error

2020-12-14 Thread Michael Tretter
x.de/ > > Fixes: cc62c74749a3 ("media: allegro: add missed checks in allegro_open()") > Signed-off-by: Dan Carpenter Reviewed-by: Michael Tretter > --- > From static analysis. Not tested. > > drivers/staging/media/allegro-dvt/allegro-core.c | 3 +-- > 1 fi

[PATCH] staging: rtl8188eu: remove commented defines

2020-10-27 Thread Michael Straube
Remove commented defines from ioctl_linux.c. They are included from include/uapi/linux/wireless.h. Also clears a checkpatch warning. WARNING: Block comments use * on subsequent lines Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 11 --- 1 file

[PATCH 5/8] staging: rtl8188eu: rename struct field bUsed -> used

2020-09-28 Thread Michael Straube
Rename field of struct rt_pmkid_list to avoid camel case. bUsed -> used Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 2 +- drivers/staging/rtl8188eu/include/rtw_security.h | 2 +- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 6 +++--- 3 fi

[PATCH 3/8] staging: rtl8188eu: rename struct field Bssid -> bssid

2020-09-28 Thread Michael Straube
Rename field of struct rt_pmkid_list to avoid camel case. Bssid -> bssid Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c| 2 +- drivers/staging/rtl8188eu/include/rtw_security.h | 2 +- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 8 3 fi

[PATCH 7/8] staging: rtl8188eu: remove unused variable ratelen

2020-09-28 Thread Michael Straube
After the removal of cckrates_included() and cckrates_only_included() from rtw_wlan_util.c the variable/parameter 'ratelen' is unused now. Remove it from update_wireless_mode() and judge_network_type(). Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_wlan_ut

[PATCH 2/8] staging: rtl8188eu: clean up comparsions to NULL

2020-09-28 Thread Michael Straube
Clean up remaining comparsions to NULL reported by checkpatch. x == NULL -> !x x != NULL -> x Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_security.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188e

[PATCH 1/8] staging: rtl8188eu: remove unused macros and definitions

2020-09-28 Thread Michael Straube
Removep unused macros and definitions from rtw_security.h leftover from previous cleanup patches. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/include/rtw_security.h | 58 --- 1 file changed, 58 deletions(-) diff --git a/drivers/staging/rtl8188eu/include

[PATCH 6/8] staging: rtl8188eu: remove cckrates{only}_included()

2020-09-28 Thread Michael Straube
: Michael Straube --- .../staging/rtl8188eu/core/rtw_wlan_util.c| 34 +++ .../staging/rtl8188eu/include/rtw_mlme_ext.h | 3 -- 2 files changed, 4 insertions(+), 33 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c b/drivers/staging/rtl8188eu/core

[PATCH 8/8] staging: rtl8188eu: clean up indent style issue

2020-09-28 Thread Michael Straube
Replace spaces with tab to clear checkpatch error. ERROR: code indent should use tabs where possible Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme.c b

[PATCH 4/8] staging: rtl8188eu: use ETH_ALEN

2020-09-28 Thread Michael Straube
Use ETH_ALEN instead of hard coded array size. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/include/rtw_security.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_security.h b/drivers/staging/rtl8188eu/include

[PATCH v2] staging: rtl8188eu: Reapply "staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames"

2020-09-27 Thread Michael Straube
to skb, decrypt with lib80211_crypt_ccmp, and place back to tx buffer. Cc: Ivan Safonov Signed-off-by: Michael Straube --- v1 -> v2: Added missing spaces around '+' and removed unnecessary parentheses. if ((curfragnum+1) == pattrib->nr_frags) if (curfragnum + 1 == pattrib->nr_

[PATCH] staging: rtl8188eu: Reapply "staging:r8188eu: Use lib80211 to encrypt (CCMP) tx frames"

2020-09-26 Thread Michael Straube
to skb, decrypt with lib80211_crypt_ccmp, and place back to tx buffer. Cc: Ivan Safonov Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_security.c | 778 ++ 1 file changed, 72 insertions(+), 706 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_security.

[PATCH 2/3] staging: rtl8192u: correct placement of else if

2020-09-19 Thread Michael Straube
Move 'else if' to the same line as the closing brace of the corresponding 'if' to follow kernel coding style. Signed-off-by: Michael Straube --- drivers/staging/rtl8192u/r8192U_wx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl

[PATCH 3/3] staging: rtl8192u: clean up comparsions to NULL

2020-09-19 Thread Michael Straube
Clean up comparsions to NULL reported by checkpatch. if (x == NULL) -> if (!x) if (x != NULL) -> if (x) Signed-off-by: Michael Straube --- drivers/staging/rtl8192u/r8192U_wx.c | 6 +++--- drivers/staging/rtl8192u/r819xU_cmdpkt.c | 4 ++-- drivers/staging/rtl8192u/r819xU_phy.c| 2

[PATCH 1/3] staging: rtl8192u: clean up blank line style issues

2020-09-19 Thread Michael Straube
nes aren't necessary after an open brace '{' Signed-off-by: Michael Straube --- drivers/staging/rtl8192u/r8192U_dm.c | 12 +-- drivers/staging/rtl8192u/r8192U_hw.h | 1 + drivers/staging/rtl8192u/r8192U_wx.c | 31 ++- drivers/staging

[PATCH 2/2] staging: rtl8188eu: clean up alignment style issues

2020-09-19 Thread Michael Straube
Clean up alignment style issues to follow kernel coding style and clear checkpatch issues. CHECK: Alignment should match open parenthesis Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- drivers/staging/rtl8188eu/hal/phy.c | 21 ++-- drivers

[PATCH 1/2] staging: rtl8188eu: clean up block comment style issues

2020-09-19 Thread Michael Straube
Clean up block comment style issues to follow kernel coding style and clear checkpatch warnings. WARNING: Block comments should align the * on each line WARNING: Block comments use a trailing */ on a separate line WARNING: Block comments use * on subsequent lines Signed-off-by: Michael Straube

[PATCH 2/2] staging: rtl8712: use shorter array initializations

2020-09-19 Thread Michael Straube
Use empty brace syntax to initialize zero valued arrays. Simplifies and shortens the code a little bit. Signed-off-by: Michael Straube --- drivers/staging/rtl8712/rtl871x_xmit.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_xmit.c b

[PATCH 1/2] staging: rtl8712: clean up comparsions to NULL

2020-09-19 Thread Michael Straube
Clean up comparsions to NULL Reported by checkpatch. if (x == NULL) -> if (!x) if (x != NULL) -> if (x) Signed-off-by: Michael Straube --- drivers/staging/rtl8712/rtl871x_cmd.c | 4 ++-- drivers/staging/rtl8712/rtl871x_io.c | 2 +- drivers/staging/r

[PATCH 1/2] staging: rtl8188eu: use __func__ in hal directory

2020-09-17 Thread Michael Straube
Use __func__ instead of hardcoded function names to clear checkpatch warnings. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/hal_intf.c | 4 +- drivers/staging/rtl8188eu/hal/odm.c | 60 +-- drivers/staging/rtl8188eu/hal/phy.c | 2

[PATCH 2/2] staging: rtl8188eu: clean up comparsion style issues

2020-09-17 Thread Michael Straube
Move constants to the right side of comparsions to follow kernel coding style and clear checkpatch warnings. In case of comparsion to _FAIL we can use '!' since _FAIL is defined as '0'. WARNING: Comparisons should place the constant on the right side of the test Signed-off

[PATCH] staging: rtl8188eu: clean up blank line style issues

2020-09-15 Thread Michael Straube
K: Please don't use multiple blank lines Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_security.c | 6 +- drivers/staging/rtl8188eu/hal/odm.c | 1 - drivers/staging/rtl8188eu/hal/rf.c| 1 + drivers/staging/rtl8188eu/include

[PATCH] staging: rtl8188eu: remove extra indentations

2020-09-15 Thread Michael Straube
Remove extra indentations to follow kernel coding style and clear checkpatch warnings. WARNING: suspect code indent for conditional statements Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 6 +-- .../staging/rtl8188eu/core/rtw_wlan_util.c| 48

[PATCH 2/2] staging: rtl8723bs: remove 5 GHz code

2020-09-13 Thread Michael Straube
Acoording to the TODO code valid only for 5 GHz should be removed. - find and remove remaining code valid only for 5 GHz. Most of the obvious ones have been removed, but things like channel > 14 still exist. Remove code path only valid for channels > 14. Signed-off-by: Michael S

[PATCH 1/2] staging: rtl8723bs: remove cckrates{only}_included()

2020-09-13 Thread Michael Straube
unused variable ratelen. Signed-off-by: Michael Straube --- .../staging/rtl8723bs/core/rtw_wlan_util.c| 34 ++- .../staging/rtl8723bs/include/rtw_mlme_ext.h | 2 -- 2 files changed, 3 insertions(+), 33 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c

Re: [PATCH 1/5] staging: rtl8723bs: refactor cckrates{only}_included

2020-09-13 Thread Michael Straube
On 2020-09-12 20:22, Joe Perches wrote: On Sat, 2020-09-12 at 10:45 +0200, Michael Straube wrote: Refactor cckrates_included() and cckratesonly_included() to simplify the code and improve readability. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 14

[PATCH 3/5] staging: rtl8723bs: convert cckrates{only}_included to bool

2020-09-12 Thread Michael Straube
Functions cckrates_included() and cckratesonly_included() return boolean values. Convert the return type from int to bool. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging

[PATCH 1/5] staging: rtl8723bs: refactor cckrates{only}_included

2020-09-12 Thread Michael Straube
Refactor cckrates_included() and cckratesonly_included() to simplify the code and improve readability. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs

[PATCH 5/5] staging: rtl8723bs: remove 5 GHz code

2020-09-12 Thread Michael Straube
Acoording to the TODO code valid only for 5 GHz should be removed. - find and remove remaining code valid only for 5 GHz. Most of the obvious ones have been removed, but things like channel > 14 still exist. Remove code path only valid for channels > 14. Signed-off-by: Michael S

[PATCH 2/5] staging: rtl8723bs: make cckrates{only}_included static

2020-09-12 Thread Michael Straube
Functions cckrates_included() and cckratesonly_included() are used only in the file core/rtw_wlan_util.c. Make them static and remove extern declarations from include/rtw_mlme_ext.c. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++-- drivers/staging

[PATCH 4/5] staging: rtl8723bs: remove comparsions to true

2020-09-12 Thread Michael Straube
Remove unnecessary comparsions to boolean values. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core

[PATCH] staging: rtl8188eu: clean up whitespace in wpa_set_encryption()

2020-09-05 Thread Michael Straube
Clean up unnecessary whitespace in wpa_set_encryption() by removing extra spaces and replacing tabs with spaces. Clears a checkpatch error. ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/ioctl_li

[PATCH] staging: rtl8188eu: use __func__ in os_dep

2020-08-30 Thread Michael Straube
Use __func__ instead of hardcoded function names to clear checkpatch warnings. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/os_dep/ioctl_linux.c| 80 +-- drivers/staging/rtl8188eu/os_dep/os_intfs.c | 36 - drivers/staging/rtl8188eu/os_dep/usb_intf.c

[PATCH] staging: rtl8723bs: remove 5 GHz code

2020-08-12 Thread Michael Straube
According to the TODO 5 GHz code should be removed. - find and remove remaining code valid only for 5 GHz. Most of the obvious ones have been removed, but things like channel > 14 still exist. Remove code for channels > 14 from rtw_get_center_ch(). Signed-off-by: Michael Straube --- d

staging: most: Build error since commit "drivers: most: add USB adapter driver"

2020-08-02 Thread Michael Straube
1763: _clean_drivers] Error 2 make: *** [Makefile:336: __build_one_by_one] Error 2 Did you forgot to remove the below line from drivers/staging/most/Makefile ? obj-$(CONFIG_MOST_USB) += usb/ Regards, Michael ___ devel mailing list de...@linuxdr

[PATCH 2/2] staging: rtl8188eu: cleanup whitespace in declarations

2020-07-23 Thread Michael Straube
Replace tabs with spaces in declarations to cleanup whitespace in rtl8188eu_recv.c. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c

[PATCH 1/2] staging: rtl8188eu: clear alignment style issues

2020-07-23 Thread Michael Straube
Clear checkpatch alignment style issues in rtl8188eu_recv.c. CHECK: Alignment should match open parenthesis The file is now checkpatch clean. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH][next][V2] media: allegro: fix potential null dereference on header

2020-07-22 Thread Michael Tretter
coding") > Signed-off-by: Colin Ian King Reviewed-by: Michael Tretter > --- > > V2: remove need for variable type, as suggested by Michael Tretter > > --- > drivers/staging/media/allegro-dvt/allegro-mail.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions

Re: [PATCH] media: allegro: fix an error pointer vs NULL check

2020-07-22 Thread Michael Tretter
On Wed, 22 Jul 2020 15:38:48 +0300, Dan Carpenter wrote: > The allegro_mbox_init() function returns error pointers, it never > returns NULL. > > Fixes: 94dc76560261 ("media: allegro: rework mbox handling") > Signed-off-by: Dan Carpenter Reviewed-by: Michael Tretter

Re: [PATCH][next] media: allegro: fix potential null dereference on header

2020-07-22 Thread Michael Tretter
itch statement right below the assignment. Thus, you could remove the local variable and directly use header->type in the switch. Michael > + > switch (type) { > case MCU_MSG_TYPE_INIT: > size = allegro_enc_init(&dst[1], msg); > -- > 2.27.0 >

[PATCH] staging: rtl8188eu: add spaces around operators in header files

2020-07-19 Thread Michael Straube
Add spaces around operators in the header files to improve readability and clear checkpatch issues. Signed-off-by: Michael Straube --- .../rtl8188eu/include/hal8188e_rate_adaptive.h | 4 ++-- drivers/staging/rtl8188eu/include/odm_types.h| 6 +++--- drivers/staging/rtl8188eu

[PATCH] staging: rtl8188eu: clear tabstop style issues

2020-07-17 Thread Michael Straube
Clear tabstop style issues reported by checkpatch. WARNING: Statements should start on a tabstop Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c| 2 +- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c | 2 +- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c

[PATCH 2/2] staging: rtl8192u: remove copying file

2020-07-03 Thread Michael Straube
All source and header files have a GPL-2.0 SPDX identifier. The 'copying' file with the whole GPL text is not needed, delete it. Signed-off-by: Michael Straube --- drivers/staging/rtl8192u/copying | 340 --- 1 file changed, 340 deletions(-) delete m

[PATCH 1/2] staging: rtl8192u: remove GPL boiler plate text

2020-07-03 Thread Michael Straube
The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. The file ieee80211_module.c has a proper SPDX line, so the GPL boiler plate text is not needed. Signed-off-by: Michael Straube --- .../rtl8192u/ieee80211/ieee80211_module.c| 16

[PATCH] staging: rtl8188eu: use common ieee80211 constants

2020-07-01 Thread Michael Straube
Many defined constants in wifi.h are unused and/or available from , some with slightly different names. Use the common ones, rename where necessary and remove unused. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_ap.c | 12 ++--- drivers/staging/rtl8188eu/core

[PATCH] staging: rtl8188eu: remove unused parameter

2020-07-01 Thread Michael Straube
Remove unused parameter 'padapter' from rtw_os_xmit_resource_alloc(). Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 6 +++--- drivers/staging/rtl8188eu/include/xmit_osdep.h | 3 +-- drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 3 +-- 3 files

[PATCH] staging: rtl8712: use common ieee80211 constants

2020-07-01 Thread Michael Straube
Many defined constants in wifi.h are unused and/or available from , some with slightly different names. Use the common ones, rename where necessary and remove unused. Signed-off-by: Michael Straube --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +- drivers/staging/rtl8712/rtl871x_mlme.c

Re: [PATCH] media: allegro: Fix some NULL vs IS_ERR() checks in probe

2020-07-01 Thread Michael Tretter
On Fri, 19 Jun 2020 17:30:07 +0300, Dan Carpenter wrote: > The devm_ioremap() function doesn't return error pointers, it returns > NULL on error. > > Fixes: f20387dfd065 ("media: allegro: add Allegro DVT video IP core driver") > Signed-off-by: Dan Carpenter

[PATCH 1/3] staging: rtl8188eu: remove some ieee80211 constants from wifi.h

2020-06-29 Thread Michael Straube
The constants IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL and IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA are not used in the driver code and, if ever needed, available from 'include/linux/ieee80211.h'. Remove them from wifi.h. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/incl

[PATCH 3/3] staging: rtl8712: remove some ieee80211 constants from wifi.h

2020-06-29 Thread Michael Straube
The constants IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL and IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA are not used in the driver code and, if ever needed, available from 'include/linux/ieee80211.h'. Remove them from wifi.h. Signed-off-by: Michael Straube --- drivers/staging/rtl8712/wifi.h |

[PATCH 2/3] staging: rtl8723bs: remove some ieee80211 constants from wifi.h

2020-06-29 Thread Michael Straube
The constants IEEE80211_BAR_CTRL_ACK_POLICY_NORMAL and IEEE80211_BAR_CTRL_CBMTID_COMPRESSED_BA are not used in the driver code and, if ever needed, available from 'include/linux/ieee80211.h'. Remove them from wifi.h. Signed-off-by: Michael Straube --- drivers/staging/rtl8723bs/incl

[PATCH 1/2] staging: rtl8188eu: use compound assignment operators

2020-06-29 Thread Michael Straube
Use compound assignment operators to simplify the code and clear missing spaces around operators checkpatch issues. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu

[PATCH 2/2] staging: rtl8188eu: add spaces around operators

2020-06-29 Thread Michael Straube
Add spaces around operators to improve readability and clear checkpatch issues. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 8 +- drivers/staging/rtl8188eu/core/rtw_recv.c | 70 ++-- drivers/staging/rtl8188eu/core/rtw_security.c | 102

Re: [PATCH] staging: rtl8188eu: include: ieee80211.h: fixed multiple blank line coding style issues.

2020-06-29 Thread Michael Straube
5bfb7eadc5874a3a08dd173d66a16a1ed0548444 ("staging: rtl8188eu: remove blank lines in header files") regards, Michael ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH v2] staging: rtl8188eu: remove unnecessary comments in hal8188e_phy_cfg.h

2020-06-28 Thread Michael Straube
Remove unnecessary comments in hal8188e_phy_cfg.h to improve readability and clear multiple blank lines checkpatch issues. CHECK: Please don't use multiple blank lines Signed-off-by: Michael Straube --- v1 -> v2 Remove one more line as suggested by Dan Carpenter. .../rtl8188eu

[PATCH] staging: rtl8188eu: remove unnecessary comments in hal8188e_phy_cfg.h

2020-06-27 Thread Michael Straube
Remove unnecessary comments in hal8188e_phy_cfg.h to improve readability and clear multiple blank lines checkpatch issues. CHECK: Please don't use multiple blank lines Signed-off-by: Michael Straube --- .../rtl8188eu/include/hal8188e_phy_cfg.h | 23 --- 1 file change

[PATCH] staging: rtl8188eu: remove blank lines in header files

2020-06-27 Thread Michael Straube
Remove blank lines in header files to clear checkpatch issues. CHECK: Please don't use multiple blank lines Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/include/drv_types.h | 1 - drivers/staging/rtl8188eu/include/hal_com.h | 1 - drivers/staging/rtl8188eu/in

[PATCH] staging: rtl8188eu: use common packet header constants

2020-06-19 Thread Michael Straube
The driver replicates the definitions of rfc1042_header and bridge_tunnel_header available from cfg80211.h. Use the common ones from cfg80211.h. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_recv.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions

[PATCH v2 2/2] staging: rtl8188eu: make some arrays static const

2020-05-24 Thread Michael Straube
Make some arrays in phy_iq_calibrate() static const and adjust the functions that take these arrays as parameters accordingly. Reduces object file size by 84 bytes (GCC 9.3.1 x86_64). Suggested-by: Joe Perches Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/phy.c | 21

[PATCH v2 1/2] staging: rtl8188eu: clean up some declarations

2020-05-24 Thread Michael Straube
Clean up some array declarations in phy_iq_calibrate() to reduce indentation and clear line over 80 characters checkpatch warnings. Signed-off-by: Michael Straube --- v1 -> v2 Added patch that makes arrays static const. drivers/staging/rtl8188eu/hal/phy.c | 33 +++--

[PATCH] staging: rtl8188eu: clean up some declarations

2020-05-24 Thread Michael Straube
Clean up some array declarations in phy_iq_calibrate() to reduce indentation and clear line over 80 characters checkpatch warnings. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/phy.c | 33 +++-- 1 file changed, 17 insertions(+), 16 deletions(-) diff

[PATCH] staging: rtl8188eu: remove some superfluous comments

2020-04-25 Thread Michael Straube
Remove some obviously superflous comments. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm.c | 2 -- drivers/staging/rtl8188eu/hal/odm_hwconfig.c | 2 -- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 3 --- 3 files changed, 7 deletions(-) diff --git a/drivers

[PATCH] staging: rtl8712: correct spelling mistake in comment

2020-04-13 Thread Michael Straube
Correct a spelling mistake discovered by checkpatch. attatch -> attach Signed-off-by: Michael Straube --- drivers/staging/rtl8712/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/usb_halinit.c b/drivers/staging/rtl8712/usb_halini

[PATCH 1/3] staging: rtl8188eu: rename define to upper case

2020-04-13 Thread Michael Straube
Rename 'FWDL_ChkSum_rpt' to 'FWDL_CHKSUM_RPT' as defines are normaly named all upper case. Also clears a camel case checkpatch warning. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/fw.c| 4 ++-- drivers/staging/rtl8188eu/include/rtl81

[PATCH 3/3] staging: rtl8188eu: make const char array static

2020-04-13 Thread Michael Straube
Make const char array 'fw_name' static. Clears a checkpatch warning and reduces object file size by 17 bytes (gcc 9.3.1 x86_64). WARNING: const array should probably be static const Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/fw.c | 2 +- 1 file changed, 1 inser

[PATCH 0/3] staging: rtl8188eu: checkpatch cleanups in hal/fw.c

2020-04-13 Thread Michael Straube
This series clears the last remaining checkpatch issues in the file hal/fw.c. Michael Straube (3): staging: rtl8188eu: rename define to upper case staging: rtl8188eu: cleanup long line in fw.c staging: rtl8188eu: make const char array static drivers/staging/rtl8188eu/hal/fw.c

[PATCH 2/3] staging: rtl8188eu: cleanup long line in fw.c

2020-04-13 Thread Michael Straube
Add line break to avoid line length over 80 characters. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/fw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c index dbf7883f9ed7

[PATCH] staging: rtl8188eu: remove 5 GHz if test

2020-04-09 Thread Michael Straube
-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c index bce777e4bf6c..8d035f67ef61 100644 --- a/drivers/stag

[PATCH 2/2] staging: rtl8188eu: remove unnecessary variable

2020-04-05 Thread Michael Straube
The variable 'bStopBlinking' is used in if tests immediately after its value is set. Use the conditions for setting 'bStopBlinking' diretly in the subsequent if tests and remove the variable. Slightly reduces object file size by 16 bytes (gcc 9.2.1 x86_64). Signed-off

[PATCH 1/2] staging: rtl8188eu: remove unnecessary asignment

2020-04-05 Thread Michael Straube
Remove unnecessary asignment in SwLedBlink1(). The code path with the asignment 'pLed->BlinkTimes = 0' is only executed when 'pLed->BlinkTimes' is already zero and the value is not changed between the test 'if (pLed->BlinkTimes == 0)' and the asi

[PATCH] staging: rtl8188eu: refactor Efuse_GetCurrentSize()

2020-03-29 Thread Michael Straube
Refactor while loop in Efuse_GetCurrentSize() to reduce indentation level and clear line over 80 characters checkpatch warnings. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_efuse.c | 33 +++--- 1 file changed, 16 insertions(+), 17 deletions(-) diff

[PATCH] staging: rtl8188eu: remove unnecessary parentheses

2020-03-27 Thread Michael Straube
Remove all remaining unnecessary parentheses reported by checkpatch. Signed-off-by: Michael Straube --- .../staging/rtl8188eu/core/rtw_ieee80211.c| 4 +- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 4 +- drivers/staging/rtl8188eu/hal/odm.c | 52 +- drivers/staging

Re: [PATCH] staging: rtl8188eu: cleanup long line in odm.c

2020-03-26 Thread Michael Straube
On 2020-03-26 01:08, Joe Perches wrote: On Wed, 2020-03-25 at 22:59 +0100, Michael Straube wrote: Cleanup line over 80 characters by removing unnecessary parentheses. [] diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c [] @@ -590,7 +590,7 @@ void

[PATCH v2] staging: rtl8188eu: cleanup long line in odm.c

2020-03-26 Thread Michael Straube
Cleanup line over 80 characters by removing unnecessary test 'pDM_Odm->RSSI_Min <= 25'. The above test 'pDM_Odm->RSSI_Min > 25' already guarantees that it is <= 25. Signed-off-by: Michael Straube --- v1 -> v2: Remove 'pDM_Odm->RSSI_Min <= 25'

[PATCH] staging: rtl8188eu: cleanup long line in odm.c

2020-03-25 Thread Michael Straube
Cleanup line over 80 characters by removing unnecessary parentheses. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/odm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index

[PATCH] staging: rtl8188eu: remove some 5 GHz code

2020-03-20 Thread Michael Straube
off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_ieee80211.c b/drivers/staging/rtl8188eu/core/rtw_ieee80211.c index 29f615443e8f..e186982d5908 100644 --- a/d

[PATCH] staging: rtl8188eu: Add device id for MERCUSYS MW150US v2

2020-03-12 Thread Michael Straube
This device was added to the stand-alone driver on github. Add it to the staging driver as well. Link: https://github.com/lwfinger/rtl8188eu/commit/2141f244c3e7 Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 + 1 file changed, 1 insertion(+) diff --git a

Wohltätigkeitsspende von 2.000.000 Millionen Euro

2020-03-10 Thread &#x27;&#x27;Michael weirsky''
Lieber Freund, Ich bin Herr Mike Weirsky, New Jersey, Vereinigte Staaten von Amerika, der Mega-Gewinner von $ 273million In Mega Millions Jackpot, spende ich an 5 zufällige Personen, wenn Sie diese E-Mail erhalten, dann wurde Ihre E-Mail nach einem Spinball ausgewählt.Ich habe den größten Teil

[no subject]

2020-03-09 Thread Michael J. Weirsky
-- My name is Michael J. Weirsky, I'm an unemployed Handy man , winner of $273million Jackpot in March 8, 2019. I donate $1.000.000,00 to you. Contact me via email: micj...@aol.com for info / claim. Continue reading: https://abcnews.go.com/WNT/video/jersey-handyman-forward-273m-lo

[PATCH] staging: rtl8188eu: rename variable pnetdev -> netdev

2020-02-10 Thread Michael Straube
Rename the local variable pnetdev in rtw_alloc_etherdev_with_old_priv to avoid hungarian notation and clear the last checkpatch warning in the file osdep_service.c. rtl8188eu/os_dep/osdep_service.c:32: WARNING: line over 80 characters Signed-off-by: Michael Straube --- drivers/staging

[PATCH] staging: rtl8188eu: remove unnecessary RETURN label

2020-02-06 Thread Michael Straube
Remove unnecessary RETURN label and use return directly instead. Since the return type of rtw_free_netdev() is void, remove the return at the end of the function. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 10 +++--- 1 file changed, 3 insertions

Re: [PATCH] media: allegro: fix spelling mistake "to" -> "too"

2020-01-24 Thread Michael Tretter
On Thu, 23 Jan 2020 01:06:43 +, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in a v4l2_err message. Fix it. > > Signed-off-by: Colin Ian King Reviewed-by: Michael Tretter > --- > drivers/staging/media/allegro-dvt/allegro-core.c | 2 +-

Re: [PATCH v3] media: allegro: add missed checks in allegro_open()

2020-01-21 Thread Michael Tretter
On Tue, 21 Jan 2020 19:59:46 +0800, Chuhong Yuan wrote: > On Tue, Jan 21, 2020 at 4:23 PM Michael Tretter > wrote: > > > > On Mon, 13 Jan 2020 13:59:51 +0800, Chuhong Yuan wrote: > > > allegro_open() misses checks for v4l2_m2m_ctx_init() and results of > >

Re: [PATCH v3] media: allegro: add missed checks in allegro_open()

2020-01-21 Thread Michael Tretter
)) { > + ret = PTR_ERR(channel->fh.m2m_ctx); > + goto error; > + } > + > + v4l2_fh_init(&channel->fh, vdev); This call sets channel->fh.ctrl_handler to vdev->ctrl_handler, which has previously been overriden by the driver t

[PATCH 3/3] staging: rtl8712: simplify evm_db2percentage()

2020-01-18 Thread Michael Straube
Use clamp() to simplify function evm_db2percentage() and reduce object file size. Signed-off-by: Michael Straube --- drivers/staging/rtl8712/rtl8712_recv.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8712/rtl8712_recv.c b/drivers/staging

[PATCH 2/3] staging: rtl8192u: simplify rtl819x_evm_dbtopercentage()

2020-01-18 Thread Michael Straube
Use clamp() to simplify function rtl819x_evm_dbtopercentage() and reduce object file size. Signed-off-by: Michael Straube --- drivers/staging/rtl8192u/r8192U_core.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers

[PATCH 1/3] staging: rtl8192e: simplify rtl92e_evm_db_to_percent()

2020-01-18 Thread Michael Straube
Use clamp() to simplify function rtl92e_evm_db_to_percent() and reduce object file size. Signed-off-by: Michael Straube --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c

[PATCH 2/3] staging: rtl8188eu: remove redundant defines

2020-01-18 Thread Michael Straube
Remove redundant defines from hal8188e_phy_cfg.h and rtl8188e_dm.h. All of them are defined in odm.h with the same values. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/include/hal8188e_phy_cfg.h | 5 - drivers/staging/rtl8188eu/include/rtl8188e_dm.h | 7 +-- 2 files

[PATCH 1/3] staging: rtl8188eu: remove else after break or return

2020-01-18 Thread Michael Straube
Remove unnecessary else after break or return to improve readability and clear checkpatch warnings. WARNING: else is not generally useful after a break or return Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_efuse.c| 9 ++-- .../staging/rtl8188eu/core/rtw_ieee80211

[PATCH 3/3] staging: rtl8188eu: remove unused enum and defines

2020-01-18 Thread Michael Straube
IQK_BB_REG_NUM_MAX, RTL8711_RF_MAX_SENS, RTL8711_RF_DEF_SENS, NUM_REGULATORYS and enum _RTL8712_RF_MIMO_CONFIG_ are not used in the driver code, remove them. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/include/odm.h| 1 - drivers/staging/rtl8188eu/include/rtw_rf.h | 16

[PATCH 4/5] staging: rtl8188eu: remove unnecessary parentheses in rtl8188e_dm.c

2020-01-14 Thread Michael Straube
Remove unnecessary parentheses reported by checkpatch. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal

[PATCH 5/5] staging: rtl8188eu: cleanup whitespace in rtl8188e_dm.c

2020-01-14 Thread Michael Straube
Replace tabs with spaces and/or remove spaces to use typical kernel horizontal whitespace. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 44 ++--- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal

  1   2   3   4   5   6   7   8   9   10   >