******** I am trying to make stack for my learning in which i made a bus driver and device driver when i am trying to create device sysfs file after registering it with the bus i am getting oops after some digging i found that the compiler is reporting warning for using preprocessor macro called DEV_ATT. code is as follows. can anybody help me to remove this warning.
static ssize_t show_host_device_version(struct device *ddev, char *buf)
*** struct*HOST *dev = ddev->driver_data;