Skip to content

Commit

Permalink
test pre-commit
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Dec 6, 2024
1 parent 722e001 commit 4e2e942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernel/arch/riscv64/include/cpu/regs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ class ReadWriteRegBase : public ReadOnlyRegBase<RegInfo>,
namespace regs {
class Fp : public read_write::ReadWriteRegBase<register_info::FpInfo> {
public:
friend auto operator<<(sk_std::ostream &os, const Fp &fp)
friend auto operator<<(sk_std::ostream &os, [[maybe_unused]] const Fp &fp)
-> sk_std::ostream & {
(void)fp;
// (void)fp;
klog::Info("val: 0x%p", regs::Fp::Read());
return os;
}
Expand Down

0 comments on commit 4e2e942

Please sign in to comment.