strings

このコマンド使ったことなかったんですが、さっき送付した patch にリプライが付きまして、pr_fmt なマクロを追加してるのに printk なメセジの先頭にモジュールの名前が入ってるぞ、という指摘。そして

You can use the strings program on the output .o files to
verify the formats that are produced.

とのこと。strings コマンドって使ったことなかった。確かに strings に .o なオブジェクトファイルを渡してあげると

3olpc_dcon: olpc-dcon:  DCON ID not 0xDCxx: 0x%04x instead.

みたいな出力。これは知りませんでした。