Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: pata_hpt366: convert pr_warn() calls

Convert pr_warn() calls to ata_dev_warn()

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

authored by

Hannes Reinecke and committed by
Damien Le Moal
cbc59b8c 97b7925a

+1 -4
+1 -4
drivers/ata/pata_hpt366.c
··· 14 14 * TODO 15 15 * Look into engine reset on timeout errors. Should not be required. 16 16 */ 17 - 18 - #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 19 - 20 17 #include <linux/kernel.h> 21 18 #include <linux/module.h> 22 19 #include <linux/pci.h> ··· 180 183 181 184 i = match_string(list, -1, model_num); 182 185 if (i >= 0) { 183 - pr_warn("%s is not supported for %s\n", modestr, list[i]); 186 + ata_dev_warn(dev, "%s is not supported for %s\n", modestr, list[i]); 184 187 return 1; 185 188 } 186 189 return 0;