linux/drivers/staging/brcm80211/include
Clemens Noss aacd531df9 staging: brcm80211: use correct pointer types in bcm_pktq_flush
to clarify the intention:

On Sun, May 15, 2011 at 09:54:26PM +0200, Arend van Spriel wrote:
> On 05/15/2011 08:10 PM, Hauke Mehrtens wrote:
[...]
>> Why don't you use the correct pointer type here instead of casting then
>> around and the parameter names are meaningless too.
>>
>> static bool cb_del_ampdu_pkt(struct sk_buff *mpdu, struct
>> cb_del_ampdu_pars *ampdu_pars)
[...]
> Actually this is a generic callback mechanism in which an additional
> parameter can be passed, which can be of *any* type hence a void pointer
> seems justified here and a meaningless name is used. I do agree that the
> txi parameter will always be a struct sk_buff and should be indicated as
> such.

Reported-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Clemens Noss <cnoss@gmx.de>
Acked-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-17 13:31:30 -07:00
..
proto brcm80211: remove unused TLV defines 2011-03-01 16:24:30 -05:00
aidmp.h staging: brcm80211: replaced IL_BIGENDIAN by __BIG_ENDIAN 2011-05-17 12:03:49 -07:00
bcmdefs.h staging: brcm80211: remove definition of BCMFASTPATH macro 2011-05-11 13:58:21 -07:00
bcmdevs.h brcm80211: remove unused defines in bcmdevs.h 2011-04-04 22:38:41 -07:00
bcmnvram.h staging: brcm80211: cleanup functions in nvram.c 2011-05-17 12:03:52 -07:00
bcmotp.h
bcmsdh.h staging: brcm80211: remove struct osl_info from driver sources 2011-03-02 19:48:06 -05:00
bcmsdpcm.h staging: brcm80211: Corrected sdpcm_shared_t structure definition 2011-05-17 12:12:39 -07:00
bcmsrom.h staging: brcm80211: remove usage of struct osl_info from util sources 2011-03-01 16:14:52 -05:00
bcmsrom_fmt.h staging/brcm80211: Fix common spelling mistakes 2011-04-04 22:39:47 -07:00
bcmutils.h staging: brcm80211: use correct pointer types in bcm_pktq_flush 2011-05-17 13:31:30 -07:00
bcmwifi.h staging: brcm80211: move utility functions into new module 2011-05-11 13:58:20 -07:00
hnddma.h staging: brcm80211: got rid of #ifdef __mips__ by new dma_spin_for_len() 2011-05-17 12:03:50 -07:00
hndsoc.h Fix common misspellings 2011-03-31 11:26:23 -03:00
nicpci.h staging: brcm80211: remove usage of struct osl_info from util sources 2011-03-01 16:14:52 -05:00
pci_core.h staging: brcm80211: move header file 2011-05-10 11:05:42 -07:00
pcicfg.h brcm80211: update PCI config space define 2011-04-25 16:29:42 -07:00
pcie_core.h
sbchipc.h staging: brcm80211: replaced IL_BIGENDIAN by __BIG_ENDIAN 2011-05-17 12:03:49 -07:00
sbconfig.h
sbhnddma.h staging/trivial: fix typos concerning "address" 2011-02-18 13:30:09 -08:00
sbsdio.h staging: brcm80211: sbsdio.h: change a typo comamnd to command 2011-02-04 13:01:05 -08:00
sbsdpcmdev.h
sdio.h
wlioctl.h staging: brcm80211: Fixed wl_assoc_params structure miss match in brcmfmac driver 2011-05-17 12:12:33 -07:00