aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/watchdog/sbsa_gwdt.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2016-12-25 13:30:24 +0530
committerGuenter Roeck <linux@roeck-us.net>2017-02-24 14:00:23 -0800
commitcb5f9d406d50fc01c6564956ed9317614e665208 (patch)
treed11aec91001aa2fa5a0a43befe5fe6d4599fb7ca /drivers/watchdog/sbsa_gwdt.c
parentwatchdog: booke_wdt: add __ro_after_init to booke_wdt_info (diff)
downloadwireguard-linux-cb5f9d406d50fc01c6564956ed9317614e665208.tar.xz
wireguard-linux-cb5f9d406d50fc01c6564956ed9317614e665208.zip
watchdog: pika_wdt: add __ro_after_init to ident
The object ident of type watchdog_info structure is not modified after getting initialized by pikawdt_init. Apart from getting referenced in init it is also passed as an argument to the function copy_to_user but this argument is of type const void *. Therefore add __ro_after_init to its declaration. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/sbsa_gwdt.c')
0 files changed, 0 insertions, 0 deletions