mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
A recent commit added a write to the watchdog test code for doing the "magic
close", but that caused a compile-time warning:
Documentation/watchdog/src/watchdog-test.c: In function ‘main’:
Documentation/watchdog/src/watchdog-test.c:94:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
This changes the code to print a runtime warning if the write fails.
Fixes:
|
||
|---|---|---|
| .. | ||
| src | ||
| convert_drivers_to_kernel_api.txt | ||
| hpwdt.txt | ||
| Makefile | ||
| pcwd-watchdog.txt | ||
| watchdog-api.txt | ||
| watchdog-kernel-api.txt | ||
| watchdog-parameters.txt | ||
| wdt.txt | ||