projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/srso: Add SRSO mitigation for Hygon processors
[linux-block.git]
/
block
/
bsg.c
diff --git
a/block/bsg.c
b/block/bsg.c
index 1a9396a3b7d72725962aad85ec8591a15902effd..72157a59b7881f4e4b975f70db879eef22597e17 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;