Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1364181rbb; Mon, 26 Feb 2024 07:07:39 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUDpuwOAB+3FYnXeKoS9quRm5szlA0tGQZuuNwxftdHM3Zgth/hR2oFN7LHWB7dgmbMPE8nDjPcmsIkax2CHmd3ySstfxzOMFB7fh91xQ== X-Google-Smtp-Source: AGHT+IGsG/tU6HLEz0BMikexG2sdHxKFfWMVnsEuso/VaNepPhncLpJXtgc/dS1bwSzRyV0vyBaq X-Received: by 2002:a50:fb0e:0:b0:565:cda7:4b88 with SMTP id d14-20020a50fb0e000000b00565cda74b88mr3049390edq.37.1708960059704; Mon, 26 Feb 2024 07:07:39 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x23-20020a50d617000000b005660bf44086si553356edi.665.2024.02.26.07.07.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 07:07:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81731-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=VnFVGuTE; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-81731-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D5ABB1F2E669 for ; Mon, 26 Feb 2024 15:07:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 725F3131E53; Mon, 26 Feb 2024 14:45:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VnFVGuTE" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F79A12B15F for ; Mon, 26 Feb 2024 14:45:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708958739; cv=none; b=pETBAZVT2k68QwNrN9QGctL7s6O1mXUCxcTrbtHh8rQ9OnDsjc0HAb949R2Dchv7WPuIIFPfRUXVcFw1NOIpKfNiMblP6etpr+5lf322pnir7TMkIsuwyuIVszqajyhru6szJg6u7IZPy2Zvuf6B9/q7eSPy8s0jr/ZyQgNsUHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708958739; c=relaxed/simple; bh=eJkehOGsWcnIAv2C7aKxVAn/Nm5vdYM89SPCXjmFqkE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=flcfX4M8OnAbsxaFgUXK1ayAXLFAyPL/wf2Gi7A5iE4kfOa/iwMFZQ7BxIleBoZ92uC9/i/FPpSs19+6Fr1mehFXtDEegVdgW91IaZgH/I38OP5VhW6AmDNWCdU9M/GBbdKlbf5BtCKgbXd26ROsgY3owIx2IWr1os4RAU35wxo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=VnFVGuTE; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708958738; x=1740494738; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eJkehOGsWcnIAv2C7aKxVAn/Nm5vdYM89SPCXjmFqkE=; b=VnFVGuTE2ukPaJQOeiZxgaBiv22ES7fxJfgEw4OsQ090GZoQDJXEGk/z UClCMCSer0oLx5C0CS6skMStaT+6JEShT1kmRdJabN8wT1Cff6zMDMdrV 0HofjFmIjHhs4uCjHc2Rew2fPx8s3FZ5fV/12Y5Jh4ZhajHGbYlfUa8z0 d0BeQlMXSOjO4f+a09Xy6N5s8o7eBFdC5YgsB+ZiV9uGRg+QCdBH9OM0S q7HuxA851tIJ8pn9dRzNWOhXCETdURmkhXrgbyUCQe19x2nr8a4N6N4nb ooK2ujqfmusRouwvlzv6ydXPhSZG+6JlVypyoiDIgMCOxZ5KqeH61y09o Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10995"; a="14681565" X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="14681565" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2024 06:45:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10995"; a="913874071" X-IronPort-AV: E=Sophos;i="6.06,185,1705392000"; d="scan'208";a="913874071" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2024 06:45:35 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1recEW-00000007hsz-1jZ9; Mon, 26 Feb 2024 16:45:32 +0200 Date: Mon, 26 Feb 2024 16:45:32 +0200 From: Andy Shevchenko To: Shahar Avidar Cc: gregkh@linuxfoundation.org, luca.ceresoli@bootlin.com, benjamin.tissoires@redhat.com, elder@linaro.org, robh@kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] staging: pi433: Remove a duplicated F_OSC define Message-ID: References: <20240225173341.1278918-1-ikobh7@gmail.com> <20240225173341.1278918-2-ikobh7@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240225173341.1278918-2-ikobh7@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Sun, Feb 25, 2024 at 07:33:38PM +0200, Shahar Avidar wrote: > F_OSC is already defined & only used by rf69.c source file > Also fix define comment You missed periods at the end of the sentences. .. > -#define F_OSC 32000000 /* in Hz */ > +#define F_OSC 32000000 /* Hz */ Instead of having a comment you can #include ... #define F_OSC (32 * HZ_PER_MHZ) which will be more robust code (no need to count 0s). -- With Best Regards, Andy Shevchenko