Skip to content

wrong format for size_t in dev_dbg() #147

Open

Description

@ghibo

When compiling with -Wformat it arises in drivers/hid/ipts/cmd.c and drivers/hid/ipts/mei.c some warning about wrong printf format, where a %ld is used for a size_t type, instead of a %zu. Here is a patch to fix those casting warnings.

0001-fix-size_t-printf-arguments.patch.txt

Activity

  1. qzed commented on Mar 14, 2024

    @qzed
    Member

    Thanks! This is something you should submit to https://github.com/linux-surface/intel-precise-touch though. The kernel code is based on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions