aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/core.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2021-03-22 14:13:54 +0000
committerMike Snitzer <[email protected]>2021-03-22 16:32:32 +0000
commit5424a0b867e65f1ecf34ffe88d091a4fcbb35bc1 (patch)
tree8cf9f00192e905f0d6366378eb67f46039edc2e4 /drivers/usb/cdns3/core.c
parentdm table: Fix zoned model check and zone sectors check (diff)
downloadkernel-5424a0b867e65f1ecf34ffe88d091a4fcbb35bc1.tar.gz
kernel-5424a0b867e65f1ecf34ffe88d091a4fcbb35bc1.zip
dm: don't report "detected capacity change" on device creation
When a DM device is first created it doesn't yet have an established capacity, therefore the use of set_capacity_and_notify() should be conditional given the potential for needless pr_info "detected capacity change" noise even if capacity is 0. One could argue that the pr_info() in set_capacity_and_notify() is misplaced, but that position is not held uniformly. Signed-off-by: Mikulas Patocka <[email protected]> Fixes: f64d9b2eacb9 ("dm: use set_capacity_and_notify") Cc: [email protected] Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions