Re: [Outreachy kernel] [PATCH] [Outreachy Kernel] Staging: wlan-ng: cfg80211: Fix Lines should not end with a '('

From: Matthew Wilcox
Date: Tue Aug 24 2021 - 05:50:58 EST


On Tue, Aug 24, 2021 at 04:15:51AM +0100, Tawah Peggy wrote:
> - ieee80211_frequency_to_channel(
> - request->channels[i]->center_freq);
> + ieee80211_frequency_to_channel
> + (request->channels[i]->center_freq);

This is the wrong way to fix this warning. Function names should not be
divorced from their arguments.