projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/damon/sysfs: eliminate potential uninitialized variable warning
[platform/kernel/linux-starfive.git]
/
block
/
bsg.c
diff --git
a/block/bsg.c
b/block/bsg.c
index
1a9396a
..
72157a5
100644
(file)
--- a/
block/bsg.c
+++ b/
block/bsg.c
@@
-36,7
+36,7
@@
static inline struct bsg_device *to_bsg_device(struct inode *inode)
}
#define BSG_DEFAULT_CMDS 64
-#define BSG_MAX_DEVS
32768
+#define BSG_MAX_DEVS
(1 << MINORBITS)
static DEFINE_IDA(bsg_minor_ida);
static const struct class bsg_class;