Skip to contentSkip to conversation

include-linux-blkdevh-extern-inline-static-inline.patch added to -mm tree

DISCUSSION Coywolf Qi Hunt 1 participant 2 messages Jul 29, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · On 7/29/05, [email protected] <[email protected]> wrote:

The patch titled

     include/linux/blkdev.h: "extern inline" -> "static inline"

has been added to the -mm tree. Its filename is

include-linux-blkdevh-extern-inline-static-inline.patch

...

Quoted 5 lines

From: Adrian Bunk <[email protected]>

"extern inline" doesn't make much sense.

"extern inline" does make sense, and it does make sense here. please backout this patch. Hint: the address of block_size() is referenced.

Quoted 20 lines

---

 include/linux/blkdev.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/blkdev.h~include-linux-blkdevh-extern-inline-static-inline include/linux/blkdev.h

include/linux/blkdev.h 2005-07-28 19:28:05.000000000 -0700 renamed from include/linux/blkdev.h~include-linux-blkdevh-extern-inline-static-inline 2005-07-28 19:28:05.000000000 -0700 +1 -1
@@ -727,7 +727,7 @@ static inline unsigned int blksize_bits(
        return bits;
 }
 
-extern inline unsigned int block_size(struct block_device *bdev)
+static inline unsigned int block_size(struct block_device *bdev)
 {
        return bdev->bd_block_size;
 }
Signature · 2 lines
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
#2 lore raw
Quoted 15 lines · Coywolf Qi Hunt
Quoted 9 lines · On 7/29/05, [email protected] <[email protected]> wrote:

The patch titled

     include/linux/blkdev.h: "extern inline" -> "static inline"

has been added to the -mm tree. Its filename is

include-linux-blkdevh-extern-inline-static-inline.patch

...

Quoted 2 lines
Quoted 7 lines
Quoted 3 lines

From: Adrian Bunk <[email protected]>

"extern inline" doesn't make much sense.

"extern inline" does make sense, and it does make sense here. please backout this patch. Hint: the address of block_size() is referenced.

Sorry, I mistook put_int(arg, block_size(bdev)); as address reference.

Signature · 2 lines
Coywolf Qi Hunt
http://ahbl.org/~coywolf/