summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus.h
diff options
context:
space:
mode:
authorAlex Elder2014-09-27 03:55:34 +0200
committerGreg Kroah-Hartman2014-09-30 03:07:22 +0200
commit01e8280150a2ef330f082a996479b96d75164353 (patch)
treeb8e8fd2824dfef704172000c1a2fe43a332f38a8 /drivers/staging/greybus/greybus.h
parentgreybus: descriptor type is 1 byte (diff)
downloadkernel-qcow2-linux-01e8280150a2ef330f082a996479b96d75164353.tar.gz
kernel-qcow2-linux-01e8280150a2ef330f082a996479b96d75164353.tar.xz
kernel-qcow2-linux-01e8280150a2ef330f082a996479b96d75164353.zip
greybus: fix version check
When we read a module manifest we are required to verify that its version is compatible with the version the present code is able to parse. All that's required is a check of the major version number. If the manifest's major version is greater than the software, the software can't assume it can parse it. All new code must be able to parse all old versions of the format. And any difference in minor version is supposed to have no effect on parsability. Update the version check to enforce this policy, and reword the error message to do a better job of explaining the situation. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
0 files changed, 0 insertions, 0 deletions