From: Jan Beulich Date: Tue, 18 Sep 2012 11:29:03 +0000 (+0100) Subject: xen-pciback: support wild cards in slot specifications X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~30^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3cb4709809e655a4ba5a716086c8bc5bbbbccdb;p=pandora-kernel.git xen-pciback: support wild cards in slot specifications Particularly for hiding sets of SR-IOV devices, specifying them all individually is rather cumbersome. Therefore, allow function and slot numbers to be replaced by a wildcard character ('*'). Unfortunately this gets complicated by the in-kernel sscanf() implementation not being really standard conformant - matching of plain text tails cannot be checked by the caller (a patch to overcome this will be sent shortly, and a follow-up patch for simplifying the code is planned to be sent when that fixed went upstream). Signed-off-by: Jan Beulich Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed