Linus Torvalds writes: (Summary) I wonder
why I didn't get a compiler warning for it...
why I didn't get a compiler warning for it...
[ Goes off and looks ]
[ Goes off and looks ]
Oh, because the "bio_devname(bio, b)" argument ended up being interpreted as the format string, and since it was a dynamic string the compiler felt it was all fine. I'm not entirely happy with that patch either (even after the obvious fix to add the "1" argument), but it does seem like the minimal temporary workaround for now.
temporary workaround for now.
Linus
Linus
Linus
why I didn't get a compiler warning for it...
[ Goes off and looks ]
[ Goes off and looks ]
Oh, because the "bio_devname(bio, b)" argument ended up being interpreted as the format string, and since it was a dynamic string the compiler felt it was all fine. I'm not entirely happy with that patch either (even after the obvious fix to add the "1" argument), but it does seem like the minimal temporary workaround for now.
temporary workaround for now.
Linus
Linus
Linus