- dev_err(&drive->gendev, "%s: packet size (0x%02x) is not 12 "
- "bytes\n", s, packet_size);
+ dev_err(&drive->gendev,
+ "%s: packet size (0x%02x) is not 12 bytes\n",
When the message is broken by the format specifier, turning it into one liner can hardly help seraching...
grep "is not 12 bytes"
Oh noes, the indentation...
trade-offs...
+ "(IO,CoD != (0,1) while issuing a packet command, retrying\n");
Sigh...
You seem to sigh a lot. ;)
+ "unexpected interrupt, status=0x%02x, count=%ld\n",
Hardly won anything...
+ "%s side 80-wire cable detection failed, limiting max speed to UDMA33\n",
Will you really use the full message to serch here?
+ "probing with STATUS(0x%02x) instead of ALTSTATUS(0x%02x)\n",
Same comment about the line broken by the format specifiers. This wins absolutely nothing.
grep "STATUS.*ALTSTATUS"
+ "no response (status = 0x%02x), resetting drive\n",
And again...
grep "response.*resetting"
cheers, Joe