Message ID | a997d239-2678-45bb-8f18-7780409a5013@t-8ch.de (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [BUG] message header mangling on vger.kernel.org and lore.kernel.org | expand |
On Thu, Feb 23, 2023 at 08:56:45PM +0000, Thomas Weißschuh wrote: > Hi, > > I tried to "b4 shazam" one of my own patches from lore for which the > DKIM check failed. > Further investigation revelead what seems to be modifications of message > headers by both vger.kernel.org and lore.kernel.org. > As this affects DKIM-signed headers the validation fails. This doesn't really have much to do with b4, it's just a known aspect of vger -- it does not do "simple/simple". To make your mail setup work with vger, you should change it to "relaxed/simple". I go into reasons and details in this post: https://lore.kernel.org/lkml/20211214150032.nioelgvmase7yyus@meerkat.local/ -K
On Thu, Feb 23, 2023 at 04:18:15PM -0500, Konstantin Ryabitsev wrote: > On Thu, Feb 23, 2023 at 08:56:45PM +0000, Thomas Weißschuh wrote: > > Hi, > > > > I tried to "b4 shazam" one of my own patches from lore for which the > > DKIM check failed. > > Further investigation revelead what seems to be modifications of message > > headers by both vger.kernel.org and lore.kernel.org. > > As this affects DKIM-signed headers the validation fails. > > This doesn't really have much to do with b4, it's just a known aspect of vger > -- it does not do "simple/simple". To make your mail setup work with vger, you > should change it to "relaxed/simple". > > I go into reasons and details in this post: > https://lore.kernel.org/lkml/20211214150032.nioelgvmase7yyus@meerkat.local/ Thanks for the pointer, I even read that mail back then... It's now fixed on my side. Sorry for the noise, Thomas
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index bd47628da6be..4facfb446986 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -41,11 +41,6 @@ #define DRIVER_DESC "HID core driver" -int hid_debug = 0; -module_param_named(debug, hid_debug, int, 0600); -MODULE_PARM_DESC(debug, "toggle HID debugging messages"); -EXPORT_SYMBOL_GPL(hid_debug); - static int hid_ignore_special_drivers = 0; module_param_named(ignore_special_drivers, hid_ignore_special_drivers, int, 0600); MODULE_PARM_DESC(ignore_special_drivers, "Ignore any special drivers and handle all devices by generic driver"); @@ -2909,10 +2904,6 @@ static int __init hid_init(void) { int ret; - if (hid_debug) - pr_warn("hid_debug is now used solely for parser and driver debugging.\n" - "debugfs is now used for inspecting the device (report descriptor, reports)\n"); - ret = bus_register(&hid_bus_type); if (ret) { pr_err("can't register hid bus\n"); diff --git a/include/linux/hid.h b/include/linux/hid.h index 8677ae38599e..676f501507aa 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -882,8 +882,6 @@ static inline bool hid_is_usb(struct hid_device *hdev) /* HID core API */ -extern int hid_debug; - extern bool hid_ignore(struct hid_device *); extern int hid_add_device(struct hid_device *); extern void hid_destroy_device(struct hid_device *); @@ -1191,11 +1189,7 @@ int hid_pidff_init(struct hid_device *hid); #define hid_pidff_init NULL #endif -#define dbg_hid(fmt, ...) \ -do { \ - if (hid_debug) \ - printk(KERN_DEBUG "%s: " fmt, __FILE__, ##__VA_ARGS__); \ -} while (0) +#define dbg_hid(fmt, ...) pr_debug("%s: " fmt, __FILE__, ##__VA_ARGS__) #define hid_err(hid, fmt, ...) \ dev_err(&(hid)->dev, fmt, ##__VA_ARGS__)