Re: [PATCH v2] staging: wlan-ng: remove helper function prism2sta_inf_handover()
From: Andi Shyti
Date: Fri Oct 13 2023 - 07:21:42 EST
Hi Calvince,
...
> @@ -1697,7 +1697,8 @@ void prism2sta_ev_info(struct wlandevice *wlandev,
> /* Dispatch */
> switch (inf->infotype) {
> case HFA384x_IT_HANDOVERADDR:
> - pr_debug("received infoframe:HANDOVER (unhandled)\n");
> + netdev_dbg(wlandev->netdev,
> + "received infoframe:HANDOVER (unhandled)\n");
but then you generate this:
CHECK: Alignment should match open parenthesis
#240: FILE: drivers/staging/wlan-ng/prism2sta.c:1701:
+ netdev_dbg(wlandev->netdev,
+ "received infoframe:HANDOVER (unhandled)\n");
total: 0 errors, 0 warnings, 1 checks, 9 lines checked
:-)
Make it a habit... before sending a patch check it with
checkpatch, in order to be sure you are not introducing other
checkpatch errors.
Don't rush... take your time, check your changes carefully; use
checkpatch, compile test, run sparse, etc. Give others time to
see your patch and comment.
Andi