Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp290674ima; Tue, 5 Feb 2019 23:28:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IboUM7ESvg1+hND5n/MLSINuvgZ6xPRKyB78o9WnvhvtrPfhbatAajjn8kIW+S5Trlwkaye X-Received: by 2002:a63:9751:: with SMTP id d17mr7630219pgo.392.1549438101879; Tue, 05 Feb 2019 23:28:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549438101; cv=none; d=google.com; s=arc-20160816; b=urJRN7Gqtoq57vEKlLv5XdXAwx5NC4XUuiI3linKDLM5P9gUPGysduRWdyttoudWAD LBf92xsiWVhrGHEcdUomitZVsPMS9k8mjck2CvDzjlcjAP8ajmHEfAiNe9i3JymY+vk3 D/DbBmjTl3lkeOL7yqt/+hus3my+7pypZjlrMCXP3121j/S/luaRQ5zq99pVa8GzPLyq KSGNoYJC33aq7MVPKuaNeT3SRy3CxAzahTPRZDikdtCsJPXJF4wgJzO5ipE6r8H8hbbj jq0PwksbRLHDAy/OPmjjE3LTwAtdogZDGH2URslrrCBKWBqwYHCAZo9MseY+o3bVst4h IcVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6uBYoHozO8PAP4li51yx+Q5uT8p3LsgrZ80SJMlNtt0=; b=D6Qk33gVCQF7Xl35LTpwZ7DAWTMGQ9VWzJcpUrXarwRHCYoB5M+sA/q60D+XjhS/+T PytTFs7mlQOV9U9/GEq5mB5rO+6VoekzFk+0BBfqQqk6xQLuh5L18VbXT2rdKx7qnSxz Zsr+6QbSMkP20pP2hp+0t+DJhYiBcbc+8+hBPJ62E7qA8AgiU8HdPI1tVnJkcrEKHEHU d5g9Zwaw+pkT6uk5aEsyIFdBnA3I6uVqa3TOFA72CgFDDAnSQuYalrpN5iNT0WeNsK9u HaVPlhuvDBN/CKBf9lrxb+N/LzExmWDgtg0p7cfDZUcohTtduQAABMF2Nz6sLxjR3JJj Cb9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=BEUvPIY6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si5162630pgi.218.2019.02.05.23.28.06; Tue, 05 Feb 2019 23:28:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=BEUvPIY6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727138AbfBFH1h (ORCPT + 99 others); Wed, 6 Feb 2019 02:27:37 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:35118 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725897AbfBFH1h (ORCPT ); Wed, 6 Feb 2019 02:27:37 -0500 Received: by mail-it1-f196.google.com with SMTP id p197so4106850itp.0 for ; Tue, 05 Feb 2019 23:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6uBYoHozO8PAP4li51yx+Q5uT8p3LsgrZ80SJMlNtt0=; b=BEUvPIY6FKX4cUblYV2sd8KUyVcgNXTlhY4AJs0zC8T6GM3T5Py5yTPXAgRrBH423v JY7pnGMYxR1c0Ws6S6vkEX/VYdccoGbj3+FwyposD4ki0XPn9URyWYBP3lyHStzny3uZ 1Dy+yPKqFcCeXLO6glFTiiuQ6LcTwceiwgDJQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6uBYoHozO8PAP4li51yx+Q5uT8p3LsgrZ80SJMlNtt0=; b=XjuiOxoGhbtHajpGBeeL2QxGH5fYoy3rJDPqpUqwIXLNyz8z+4LCvaAKAMMCjmrAv8 Oi7uvo/RTVg0/sVmaUrmBPCjcxbJrgSs8uIwjetjKHxmvEuLb8bPxK7g3PBdSzrVglrP D2RFHo2MQDiu86xpIcwBB5B7EVk5JPYEVugQ5rHkptzI386LMa5j+4wdC5WQDAGjbp4B HCNqiuIUtWEI+bfLGp+g8FXpU973ex+P6xTW0sNlcchMGcIQ0EdtNKdZO8VUK0RtCAhh bo+1eLuLdmSqFSxbXnIy2hQLh6cDEwacMMnjaQKlYnnIYzWZunT68U0zuPt2rVPMEhBT tV7w== X-Gm-Message-State: AHQUAubA5UAvU523o5ZoC4GqMMc1FyGWSdWbfnETY3STubwm26v5kKh0 qafklamdWawuW0FxYRunGN6dP9oD9EvswfV6tJg2cCH7/jKjX0Ya X-Received: by 2002:a02:1c41:: with SMTP id c62mr4516225jac.109.1549438056578; Tue, 05 Feb 2019 23:27:36 -0800 (PST) MIME-Version: 1.0 References: <786543cbd8d60776083bcaca66f83502f23f561b.1549385784.git.renatogeh@gmail.com> In-Reply-To: From: Linus Torvalds Date: Wed, 6 Feb 2019 07:27:25 +0000 Message-ID: Subject: Re: [PATCH v3 1/4] staging: iio: ad7780: add gain & filter gpio support To: Peter Meerwald-Stadler Cc: lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter, this email was marked as spam for me (and probably others) because of this DKIM signature: DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pmeerw.net; s=mail; .... where the problem is that when the message goes through the vger.kernel.org mailing list machinery, the header whitespace will be modified. As a result, the DKIM signature no longer matched, and at least gmail will consider the email to be spam. That's arguably a bug in the vger mail server setup, but equally arguably the "c=simple/simple" model of hashing in DKIM is just broken, and shouldn't be used. Whitespace in SMTP headers is simply not meaningful, and checking whitespace in them (like simple/simple does) is misguided. If you have control over the DKIM setup of pmeerw.net, may I suggest changing the DKIM setup to use "c=relaxed/relaxed", which doesn't invalidate the signature just for whitespace changes in the headers, and which is the proper DKIM model to use. The simple canonicalization really is too simple-minded for email. Linus On Tue, Feb 5, 2019 at 7:58 PM Peter Meerwald-Stadler wrote: > > On Tue, 5 Feb 2019, Renato Lui Geh wrote: > > > Previously, the AD7780 driver only supported gpio for the 'powerdown' > > pin. This commit adds suppport for the 'gain' and 'filter' pin. > > comments below [...]