aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2021-12-21 08:21:01 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-05 19:33:02 +0900
commitd97c75edd806669c9f4b56c0ddae37725c0b708c (patch)
tree2a71e650c7dd984a81d1df1bd2cb743d9a9117d4 /drivers/ata/libata-core.c
parentata: sata_sx4: add module parameter 'dimm_test' (diff)
downloadwireguard-linux-d97c75edd806669c9f4b56c0ddae37725c0b708c.tar.xz
wireguard-linux-d97c75edd806669c9f4b56c0ddae37725c0b708c.zip
ata: libata: drop ata_msg_error() and ata_msg_intr()
Unused. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 447a46bdc820..165210576288 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -5345,11 +5345,11 @@ struct ata_port *ata_port_alloc(struct ata_host *host)
#if defined(ATA_VERBOSE_DEBUG)
/* turn on all debugging levels */
- ap->msg_enable = 0x00FF;
+ ap->msg_enable = 0x003F;
#elif defined(ATA_DEBUG)
- ap->msg_enable = ATA_MSG_DRV | ATA_MSG_INFO | ATA_MSG_CTL | ATA_MSG_WARN | ATA_MSG_ERR;
+ ap->msg_enable = ATA_MSG_DRV | ATA_MSG_INFO | ATA_MSG_CTL | ATA_MSG_WARN;
#else
- ap->msg_enable = ATA_MSG_DRV | ATA_MSG_ERR | ATA_MSG_WARN;
+ ap->msg_enable = ATA_MSG_DRV | ATA_MSG_WARN;
#endif
mutex_init(&ap->scsi_scan_mutex);