diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-08-26 13:44:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-07 11:30:53 +0200 |
commit | e1f82a0dcf388d98bcc7ad195c03bd812405e6b2 (patch) | |
tree | 01f47bc6f4ad5b001a48cda369d407d402e6df19 /samples | |
parent | f5514c91e9f72b719bfec64af6acac5ad41df7b5 (diff) | |
download | linux-e1f82a0dcf388d98bcc7ad195c03bd812405e6b2.tar.bz2 |
driver core: Annotate dev_err_probe() with __must_check
We have got already new users of this API which interpret it differently
and miss the opportunity to optimize their code.
In order to avoid similar cases in the future, annotate dev_err_probe()
with __must_check.
Fixes: a787e5400a1c ("driver core: add device probe log helper")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200826104459.81979-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions