commit | 227abcc6da7b803e380f034d6772ea0861612340 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 26 08:58:27 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 26 09:17:34 2018 +0200 |
tree | da31117a7adf47048b796df3c7fb0fac3962824d | |
parent | 2bbdd81567c6113e1aa929080365084e31422d02 [diff] |
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>