aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2016-06-17 10:27:52 +0000
committerRafael J. Wysocki <[email protected]>2016-06-29 00:15:19 +0000
commit7eb231c337e00735d4b553ed4ae7f9441598f028 (patch)
tree30c8c564e5f23f698598608c2bf007188b7a2f27 /fs/jbd2/commit.c
parentPM / Domains: Stop/start devices during system PM suspend/resume in genpd (diff)
downloadkernel-7eb231c337e00735d4b553ed4ae7f9441598f028.tar.gz
kernel-7eb231c337e00735d4b553ed4ae7f9441598f028.zip
PM / Domains: Convert pm_genpd_init() to return an error code
The are already cases when pm_genpd_init() can fail. Currently we hide the failures instead of propagating an error code, which is a better method. Moreover, to prepare for future changes like moving away from using a fixed array-size of the struct genpd_power_state, to instead dynamically allocate data for it, the pm_genpd_init() API needs to be able to return an error code, as allocation can fail. Current users of the pm_genpd_init() is thus requested to start dealing with error codes. In the transition phase, users will have to live with only error messages being printed to log. Signed-off-by: Ulf Hansson <[email protected]> Acked-by: Kevin Hilman <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions