From: Paul Gortmaker Date: Mon, 20 Apr 2015 00:50:26 +0000 (+0930) Subject: modpost: expand pattern matching to support substring matches X-Git-Tag: omap-for-v4.1/fixes-rc1~54^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c20c032b0f753969ae778d9783d946f054d7fe;p=pandora-kernel.git modpost: expand pattern matching to support substring matches Currently the match() function supports a leading * to match any prefix and a trailing * to match any suffix. However there currently is not a combination of both that can be used to target matches of whole families of functions that share a common substring. Here we expand the *foo and foo* match to also support *foo* with the goal of targeting compiler generated symbol names that contain strings like ".constprop." and ".isra." Signed-off-by: Paul Gortmaker Signed-off-by: Rusty Russell --- Reading git-diff-tree failed