[PATCH 0/2] staging:gpib: Fix error message formatting and adjust memory allocation style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ravi Kumar Kairi <kumarkairiravi@xxxxxxxxx>

This patch series includes two minor improvements:
1. Updates the error message format for invalid base I/O addresses to use hexadecimal notation.
2. Changes the memory allocation style for `private_data` to use pointer dereference rather than hardcoding the struct type.
   which is perfered by checkpatch.

Ravi Kumar Kairi (2):
  staging:gpib:hp_82335: Fix error message format for invalid base IO
    address
  staging:glib:hp_82335: Refactor kzalloc size calculation to use
    pointer dereference

 drivers/staging/gpib/hp_82335/hp82335.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.48.1





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux