Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2997640ybh; Sat, 25 Jul 2020 07:58:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTtDLC7/EsSY/GhSRGiVhftKdsXAv3NX54kxNt7SczLO++oG0q/fJviBaa3nvvDBRFXYwe X-Received: by 2002:a17:906:2796:: with SMTP id j22mr14731396ejc.532.1595689131649; Sat, 25 Jul 2020 07:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595689131; cv=none; d=google.com; s=arc-20160816; b=FuGvGUxCnQqY/LEfu31QcWCw+vgrhY6cObM6CkhnpxNYm3PoVkbqZDgbfeAxq1LvN+ kWoFmCMxjYrCs4uyQpWzCJq/t2LAjpSbxKR84wLIkb5ps4g+5u8ShIkcFYIPBvEOPF7H OoDPSoAh7hdGHhKWYK2bvlQlkumlJd8F57vIcA3TT8BZJfbGtmc8CpjTofAtMsgw3WQy Im9lfeKRvb+mYoArQ9mI4Phql/FR8Y3/DP44zDpNPX+UbhtFC29+JwcBAfxUF38R7++8 7GlYXCabIPtTPJRd06xpw0tiDf6rgHhHwHAZuws5yeTZ/sq2m+ojGemPYjXTW7Tf6LWg U13g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:cc:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Z3BO379AIIOQgwO3FCcZpz1irg2T698dYZqqZ6uG+R4=; b=pibE3mjv6lY4Lmp4xkqpZNbYD4JDp2Cczi9pCKseAgoI2lKG39YMlVUuPkkZvZ4gU3 g9onn3KIlanpZSmALc4UIIQnQlEnGyLvW8H7GUn1U0/ZB7/QQgOF8wFr6Q/ui8zgIJpA ONT07kos/3fpi1TyyLHhjIwG5AHXxI9CVItGG3zYAd/QRon4+nGPpWZQX44x5i+vWIzl yKPwcJSz5V/0RLRnpQRy9vgW17bBdRK+URn8B9LNNSmgJrYz02xCIF7UA0P9bhVnncjk 1EQG35GICDQlDrWWuA+hKjh9Uz0k4QT9W9WWQHaex8uDOBRD3RaLv7dvRIf/OHOO1gIF 6tCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tLdQphfJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si2606747ejc.348.2020.07.25.07.58.27; Sat, 25 Jul 2020 07:58:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tLdQphfJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727771AbgGYO4L (ORCPT + 99 others); Sat, 25 Jul 2020 10:56:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727019AbgGYO4K (ORCPT ); Sat, 25 Jul 2020 10:56:10 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02316C08C5DB for ; Sat, 25 Jul 2020 07:56:09 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id lx13so12801650ejb.4 for ; Sat, 25 Jul 2020 07:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=Z3BO379AIIOQgwO3FCcZpz1irg2T698dYZqqZ6uG+R4=; b=tLdQphfJzsVs9dJ2Glsq2n5VdjG1lRATm6bxyUBb27Dch67O62baUNJo/untsiHJSZ BPpQPAVJqkp+glVjPi5umUBc9fbT6Pj2lrotfhMrcPMR9NAlf1npGa/vRjGlKxriVrYT GACmDPnCqmoh6O346YthLBMpOyqs2cW8g+7aFpDigBBkygHDwrTBRleB+Jrnd3YrtprR drf7qCqYbQf+8CmIZDjFejZwfeSrwnMKwMfRQqvoh4yn3J9mD7dDfqhlDMNekD7RuGeI q+pRM6LUaQQsYg9neVCqiCbwS9ifDndBqX497Npz6hgW9oNHCRKjiyKoFyV8RdcVPACp v5Ww== 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:cc; bh=Z3BO379AIIOQgwO3FCcZpz1irg2T698dYZqqZ6uG+R4=; b=K+Ba34NDXLndR/yJhm96a3O7ulISYhdsplgH3lz4fTjEAhQUWTxGRY/zarJZ6OUdfx elzX41YnqlvaERhe27Zu7nqju9rqQ8FmCXNNs+XGnvkI3Xcro4K+G5xPxjaJjJ4CWHbC zxuYNj4nMTBVFuKXhl6t3d50v70JFoho5e1LkncIKDOkr9LHTpAFOwGA56unlyWJEYs0 QKaTyD2ueA+WGFu0PqpQoJESs3u7FqJTw0qrN4qFxaXf9dxKWcJyB0WOauW5WwtmJsJF 6EwffHTnTTAD3K4II204teKk7kgI52uEfoaLbuBaD1umLdTQPdDnB9FLexdaMwSDRWLB BHEQ== X-Gm-Message-State: AOAM531mkdgcY2EBPXwMfXinfztNBtF4P2xoX+bMbODE86h0Xs9KFtR8 wCL1VFRxsHEpsfMX7FSdLwlhHoeAjBDWkSgakio= X-Received: by 2002:a17:906:b787:: with SMTP id dt7mt11099293ejb.320.1595688968572; Sat, 25 Jul 2020 07:56:08 -0700 (PDT) MIME-Version: 1.0 References: <20200724213659.273599-1-martin.botka1@gmail.com> <20200724213659.273599-3-martin.botka1@gmail.com> In-Reply-To: <20200724213659.273599-3-martin.botka1@gmail.com> From: Martin Botka Date: Sat, 25 Jul 2020 16:55:33 +0200 Message-ID: Subject: Re: [PATCH RFC 2/6] pwm: core: Add option to config PWM duty/period with u64 data length Cc: Fenglin Wu , Konrad Dybcio , Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, As can be seen this divides llu by llu in few warnings and error. At the time of sending i didn't realize it but this fails on 32 bit architectures. So i would like to ask how would you like this fixed ? Using macro or some other way ? Thank you. Best regards, Martin