diff options
| author | Andy Shevchenko <[email protected]> | 2016-11-18 15:24:41 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2016-12-16 14:53:54 +0000 |
| commit | bb79036215e2ca9d7ef5bd1461981396989c40da (patch) | |
| tree | f4b91dfb43da997c8d9baeb344566603f0994733 /net/lapb/lapb_out.c | |
| parent | intel-mid_wdt: make sure watchdog is not running at startup (diff) | |
| download | kernel-bb79036215e2ca9d7ef5bd1461981396989c40da.tar.gz kernel-bb79036215e2ca9d7ef5bd1461981396989c40da.zip | |
intel-mid_wdt: Error code is just an integer
Error code when printed is more readable if it's represented as plain decimal
integer. Otherwise user will see something like
intel_mid_wdt: Error stopping watchdog: 0xffffffed
which is not quite understandable ("Should I interpret it as a bitfield?").
Make it clear to use plaint integer specifier.
While here, move struct device *dev local variable definition to the top of
functions.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions
