Re: can anybody help



Nayan wrote:
Thanks for your help.
I tried to check the result after issuing the command as you suggested
$ make sdhost.i
i am getting the following result
make: *** No rule to make target 'sdhost.i'. Stop.

following is the defination of function "show_sd_host_version()"

static ssize_t show_sd_host_version(struct device *pDevice,char
*pBuff)
{
PSD_HOST pSdHost = (PSD_HOST)pDevice->driver_data:

return print_dev_t(pBuff,pSdHost->sd_host_cdev.dev);
}

Visit http://lxr.free-electrons.com/, select "identifier search",
enter "DEVICE_ATTR" and hit "Find". Chose one of the location where this
macro is used and take a look how others do it. For 2.6.25 I found:

ssize_t function (struct device *dev, struct device_attribute *attr, char
*buf)

So this may explain the warning your compiler emits.

JB
.



Relevant Pages

  • Re: dd if=/dev/random of=data.bin bs=512 count=1
    ... Jon wrote: ... KOSAKI Motohiro wrote: ... Issuing this command, I expected to get a file 4096 bytes in size. ...
    (Linux-Kernel)
  • Re: Help With Samba Mount
    ... > a directory on Suse 9.2. ... > 1) I can get the directory mounted by issuing the command: ... > This gives the resultant output of: ...
    (alt.os.linux.suse)
  • Re: mount_msdosfs /dev/fd0 causes reboot
    ... Michael A. Koerber scribbled these ... > I'm using 5.3-RELEASE and issuing the subject command, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: dd if=/dev/random of=data.bin bs=512 count=1
    ... KOSAKI Motohiro wrote: ... Issuing this command, I expected to get a file 4096 bytes in size. ... catastrophic failure of the cryptographic compression function. ...
    (Linux-Kernel)
  • Re: Console restructure an Netview 3.1
    ... Do you have some exec that handles console ... assignment and/or issuing an MVS command that traps error ... think of anything that would make issuing MVS commands fail. ... try issuing an MVS command using the now assigned console ...
    (bit.listserv.ibm-main)