aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorQuentin Casasnovas <[email protected]>2015-04-16 13:03:32 +0930
committerRusty Russell <[email protected]>2015-04-22 17:31:31 +0930
commitd3df4de7eb095cc4334759a5e65bf3bfb4be04f1 (patch)
treefec8a1ff01f17a9ede642bc14ba20b1578692d5d /include/linux/fpga/fpga-mgr.h
parent6c730bfc894f5d4989c2c1493512d3330402be94 (diff)
modpost: fix inverted logic in is_extable_fault_address().
As Guenter pointed out, we want to assert that extable_entry_size has been discovered and not the other way around. Moreover, this sanity check is only valid when we're not dealing with the first relocation in __ex_table, since we have not discovered the extable entry size at that point. This was leading to a divide-by-zero on some architectures and make the build fail. Signed-off-by: Quentin Casasnovas <[email protected]> Reported-by: Guenter Roeck <[email protected]> CC: Rusty Russell <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions