diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-04-26 08:58:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-26 09:17:34 +0200 |
commit | 227abcc6da7b803e380f034d6772ea0861612340 (patch) | |
tree | da31117a7adf47048b796df3c7fb0fac3962824d /drivers/staging/gdm724x/hci_packet.h | |
parent | staging: vboxvideo: fix mode_valid's return type (diff) | |
download | linux-dev-227abcc6da7b803e380f034d6772ea0861612340.tar.xz linux-dev-227abcc6da7b803e380f034d6772ea0861612340.zip |
staging: kernel.h: Prevent macro expantion bug in container_of_safe()
There aren't many users of this so it doesn't cause a problem, but we
obviously want to use "__mptr" here instead of "ptr" to prevent the
parameter from being executed twice.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/hci_packet.h')
0 files changed, 0 insertions, 0 deletions