aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorShawn Lin <[email protected]>2016-11-02 15:24:39 +0800
committerUlf Hansson <[email protected]>2016-12-05 10:31:09 +0100
commita48ee3e65a9e7395e8bab86728fcdc81c30a89ca (patch)
tree70df777c1ef3238eb9b96f88c31448644b0f4c65 /lib/cpu-notifier-error-inject.c
parent5df0e8231f9518ee5ca3f58a0777556dd03addd6 (diff)
mmc: debugfs: remove BUG_ON from mmc_ext_csd_open
Return error value for file_operations callback instead of triggering BUG_ON which is meaningless. Personally I don't believe n != EXT_CSD_STR_LEN could happen. Anyway, propagate the error to the caller. Signed-off-by: Shawn Lin <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions