summaryrefslogtreecommitdiff
path: root/src/udev/ata_id
AgeCommit message (Collapse)Author
2015-09-22udev: ata_id - ATA_ID_SATA_CAPABILITY == 76Kay Sievers
2015-09-21Fixup WWN bytes for big-endian systemsTom Lyon
2015-09-09tree-wide: replace while(1) by for(;;) everywhereLennart Poettering
Another Coccinelle script.
2015-07-25ata_id: remove unused union memberThomas Hindoe Paaboel Andersen
The last use of octa was removed in 01f61d331bb5038f0c877ac03c54333328b6ea28
2015-07-22ata_id: unreverse WWN identifierZbigniew Jędrzejewski-Szmek
An endianness conversion was lost in 6024a6e302bad6bcf073fa84a41a6123305dc845. Restore it. Now ata_id and scsi_id output match. https://bugzilla.redhat.com/show_bug.cgi?id=1227503
2015-06-24ata_id: unbotch format specifierJan Engelhardt
Commit v218-247-g11c6f69 broke the output of the utility. "%1$" PRIu64 "x" expands to "%1$lux", essentially "%lux", which shows the problem. u and x cannot be combined, u wins as the type character, and x gets emitted verbatim to stdout. References: https://bugzilla.redhat.com/show_bug.cgi?id=1227503
2015-05-18ata_id: drop spurious spaceLennart Poettering
2015-02-11ata_id: remove unused header filesRobert Milasan
Signed-off-by: Robert Milasan <rmilasan@suse.com>
2015-01-01udev: improve help/usage for some more programsRobert Milasan
2014-12-25ata_id: remove temp variable to kill warningZbigniew Jędrzejewski-Szmek
src/udev/ata_id/ata_id.c:503:24: warning: assignment from incompatible pointer type identify_words = &identify.wyde; ^
2014-12-25ata_id: modernizeZbigniew Jędrzejewski-Szmek
2014-12-25udev: fix another strict aliasing issueShawn Paul Landden
2014-11-28treewide: use log_*_errno whenever %m is in the format stringMichal Schmidt
If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments.
2014-11-13udev: switch to systemd logging functionsKay Sievers
2014-08-11build-sys: add missing makefile symlinksLennart Poettering
2014-08-11udev: never bypass our own logging framework and call vsyslog() directly ↵Lennart Poettering
from udev tools
2014-02-13everywhere: always use O_CLOEXEC where it makes senseLennart Poettering
2013-12-24log: log_error() and friends add a newline after each line anyway, so avoid ↵Lennart Poettering
including it in the log strings
2013-12-14Add more _printf_'s for format-nonliteralsThomas Hindoe Paaboel Andersen
Clang is a bit more strict wrt format-nonliterals: http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking Adding these extra printf attributes also makes gcc able to find more problems. E.g. this patch uncovers a format issue in udev-builtin-path_id.c Some parts looked intetional about breaking the format-nonliteral check. I added some supression for warnings there.
2013-10-30udev: ata_id: log faling ioctls as "debug"Kay Sievers
2013-04-14udev/ata_id: zero out variable properlyZbigniew Jędrzejewski-Szmek
b8a2b0f76 'use initalization instead of explicit zeroing' introduced a bug where only the first sizeof(uint_t*) bytes would be zeroed out, instead of the whole array.
2013-04-10udev/ata_id: use initalization instead of explicit zeroingZbigniew Jędrzejewski-Szmek
2012-11-12use the same email address everywhereKay Sievers
2012-07-05udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev stringKay Sievers
The last two digits are in the wrong order: $ hdparm -I /dev/sda | grep Revision 4PC10362 $ /lib/udev/ata_id -x /dev/sda | grep REVISION 4PC10326
2012-04-13udev: fix a few issues detected by the llvm static analyzerKay Sievers
2012-04-08udev: switch to systemd logging functionsKay Sievers
2012-04-04udev: ata_id - remove assert() until we switch over to systemd loggingKay Sievers
2012-04-04move imported udev into placeKay Sievers