summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-logitech-hidpp.c
diff options
context:
space:
mode:
authorJessica Yu <jeyu@kernel.org>2018-06-22 14:00:01 +0200
committerJessica Yu <jeyu@kernel.org>2018-06-22 14:00:01 +0200
commit5fdc7db6448a4f558f298b1c98d6d124fdf2ad95 (patch)
tree0fa4e7eedfa836c88c0d3bde35fb1c03f457988d /drivers/hid/hid-logitech-hidpp.c
parent81a0abd9f213704fbeeea1550ff202000e3c3cdf (diff)
downloadblackbird-obmc-linux-5fdc7db6448a4f558f298b1c98d6d124fdf2ad95.tar.gz
blackbird-obmc-linux-5fdc7db6448a4f558f298b1c98d6d124fdf2ad95.zip
module: setup load info before module_sig_check()
We want to be able to log the module name in early error messages, such as when module signature verification fails. Previously, the module name is set in layout_and_allocate(), meaning that any error messages that happen before (such as those in module_sig_check()) won't be logged with a module name, which isn't terribly helpful. In order to do this, reshuffle the order in load_module() and set up load info earlier so that we can log the module name along with these error messages. This requires splitting rewrite_section_headers() out of setup_load_info(). While we're at it, clean up and split up the operations done in layout_and_allocate(), setup_load_info(), and rewrite_section_headers() more cleanly so these functions only perform what their names suggest. Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'drivers/hid/hid-logitech-hidpp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud