[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1687301688.git.peter.colberg@intel.com>
Date: Tue, 4 Jul 2023 22:54:49 -0400
From: Peter Colberg <peter.colberg@...el.com>
To: Wu Hao <hao.wu@...el.com>, Tom Rix <trix@...hat.com>,
Moritz Fischer <mdf@...nel.org>, Xu Yilun <yilun.xu@...el.com>,
linux-fpga@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
tianfei.zhang@...el.com, russell.h.weight@...el.com,
matthew.gerlach@...ux.intel.com, marpagan@...hat.com,
lgoncalv@...hat.com, Peter Colberg <peter.colberg@...el.com>
Subject: [PATCH 0/2] fpga: dfl: clean up string formatting for sysfs_emit() and dev_dbg()
The first patch in this series substitutes sysfs_emit() for sprintf()
and scnprintf() to format sysfs values and removes explicit casts in
favour of using the correct printk() format specifiers. The second patch
omits unneeded casts of u64 values to unsigned long long for dev_dbg().
These changes are cosmetic only; no functional changes.
Peter Colberg (2):
fpga: dfl: use sysfs_emit() to format sysfs values
fpga: dfl: omit unneeded casts of u64 values for dev_dbg()
drivers/fpga/dfl-afu-dma-region.c | 14 ++++++--------
drivers/fpga/dfl-afu-error.c | 7 +++----
drivers/fpga/dfl-afu-main.c | 21 +++++++++------------
drivers/fpga/dfl-fme-error.c | 19 ++++++++-----------
drivers/fpga/dfl-fme-main.c | 26 ++++++++++----------------
drivers/fpga/dfl-fme-mgr.c | 5 ++---
drivers/fpga/dfl-fme-perf.c | 16 +++++++---------
drivers/fpga/dfl.c | 4 ++--
drivers/fpga/fpga-bridge.c | 2 +-
drivers/fpga/fpga-mgr.c | 4 ++--
drivers/fpga/fpga-region.c | 5 ++---
11 files changed, 52 insertions(+), 71 deletions(-)
--
2.28.0
Powered by blists - more mailing lists